ScrollBox question lazarus / 31-LCL ---------------------------------------------------------------------- typo · 2013-06-29 18:01 How should I use TScrollbox in order to have the controls inside it resized properly according to their Align setting? I have a  top aligned TPanel inside a TScrollbox that does not resize when the scrollbox is resized by a value less than the current one. Is it the normal behavior? I have tried resizing the childs on the OnResize event handler of the Scrolbox, without success. ---------------------------------------------------------------------- exdatis · 2013-06-29 18:57 Set anchors? Regards ---------------------------------------------------------------------- User137 · 2013-06-29 18:59 I'm not seeing any weird behavior on my SVN version. This quick test has scrollbox bottom and right anchors set true, to resize with form. ---------------------------------------------------------------------- typo · 2013-06-29 19:02 Now try to resize the scrollbox from the right side, resizing the form or using a splitter. The panel is not resized. Even on design time the behavior is the same. The right border of the Scrollbox overlaps the panel or any other control. ---------------------------------------------------------------------- typo · 2013-06-29 19:07 Oh, yes, now I see. Without aligning Top and anchoring them it works fine. Thanks.