On Thu, 26 Jan 2006 12:14:11 +0100
Micha Nelissen <[EMAIL PROTECTED]> wrote:

> Vincent Snijders wrote:
> >> An example are TRadioGroup and TCheckGroup, which layout code has been
> >> removed and instead use the new properties.Advantage:
> >> TRadioGroup columns can now have different sizes.
> >> I also added the new property TCheckGroup.AutoFill.
> > 
> > It doesn't look good.  See attached png.
> 
> Wow cool! Looking good! :-)
> 
> I think this is the same old issue "should we include border space in 
> preferred size calculation?". Win32 interface doesn't, and we agreed 
> into adding so that is according to windows guidelines, no? I just 
> didn't do it yet.

I set the AutoFill property to true, so the items will now fill up the
TRadioGroup.

AutoFill sets ChildSizing.EnlargeHorizontal to crsHomogenousSpaceResize.
This means available space is distributed to the space around the items.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to