[Lazarus] qurstion in Button Alignment
Duncan Parsons
D.Parsons at seamsltd.com
Tue Feb 23 15:01:05 CET 2010
From: Mattias Gärtner [mailto:nc-gaertnma at netcologne.de]
Sent: 23 February 2010 11:43
To: lazarus at lists.lazarus.freepascal.org
Subject: Re: [Lazarus] qurstion in Button Alignment
Zitat von Duncan Parsons <D.Parsons at seamsltd.com>:
> [...]
> I wish to create a component that gives 10 buttons aligning 5 buttons
> on each side.
> The thing is, that I want to make both sides resize using anchors or
> something like that.
> The resizing should be both on width and height of the buttons but it
> can shrink up to a given size.
>
> The thing that I do not understand how to do, is to be able to
> grow/shrink both sides in width without covering each other.
> So how do I do it properly ?
Layout=cclTopToBottomThenLeftToRight
ChildSizing.ControlsPerLine=5
EnlargeHorizontal=crsScaleChilds
Mattias
=-=-=
Oh, very good ;-)
DSP
More information about the Lazarus
mailing list