On Tue, 08 Nov 2011 20:40:50 -0300 Luiz Americo Pereira Camara <[email protected]> wrote:
> On 7/11/2011 22:48, silvioprog wrote: > > 2011/11/7 Luiz Americo Pereira Camara<[email protected]>: > >> The problem is with the button: > >> - I set the button.Top anchor to match the bottom side of TListView but it > >> uses the original ListView bottom side instead of the effective bottom > >> (considering BorderSpacing). The result is that the button gets out of the > >> screen. > >> > >> Is that the expected behavior (ignoring BorderSpacing to calculate anchor > >> sides)? > >> > >> Any idea how i can get the layout without using layers of TPanel? > >> > >> Follows a test project > >> > >> Luiz > > 'Improvised' solution in attached. > > Thanks. This works. > > But the question still remains: > > Is a bug the BorderSpacing be ignored to calculate anchor sides? BorderSpacing is used by anchored sides. See here: http://wiki.lazarus.freepascal.org/Autosize_/_Layout#Anchor_Sides Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
