Lazarus

Programming => LCL => Topic started by: Saylo_49 on May 21, 2019, 03:01:19 am

Title: Horizontal TSplitter
Post by: Saylo_49 on May 21, 2019, 03:01:19 am
I used the Splitter component found in the Additional  Tab but it works only vertically
when turning it horizontally it does not work like it is work on vertical

Is there a way to make this happen or is there another component that can do this ?
Title: Re: Horizontal TSplitter
Post by: valdir.marcos on May 21, 2019, 03:17:35 am
I used the Splitter component found in the Additional  Tab but it works only vertically
when turning it horizontally it does not work like it is work on vertical
Is there a way to make this happen or is there another component that can do this ?
I still believe it works as expected.
Can you attach a small sample?
Title: Re: Horizontal TSplitter
Post by: wp on May 21, 2019, 09:40:58 am
Did you set the "Align" of the splitter correctly? When you want to resize a bottom-aligned panel the corresponding splitter must have its "Align" set to alBottom, too, and it must be located above the panel; correspondingly, for a top-aligned panel the splitter must be positioned below the panel and its "Align" must be set to alTop.
TinyPortal © 2005-2018