Mattias Gaertner wrote:
On Fri, 30 Sep 2005 10:20:31 +0200
Marc Weustink <[EMAIL PROTECTED]> wrote:


Mattias Gaertner wrote:

On Thu, 29 Sep 2005 23:46:14 +0200
Marc Weustink <[EMAIL PROTECTED]> wrote:



Mattias Gaertner wrote:
[...]
Spacing like http://www.dommelstein.nl/scrap/checkbox_spacing.png

If you would like to get the checks at a grid distance, you have to tweak the heigth of the box.


Exactly. Do you want a TCheckGroup without auto fill?

Yes, or maybe better, with autosize.
Some widgetsets have (strict) guides on what distance all elements should have to eachother. With autofilling this is almost impossible.

See for instance http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGControls/chapter_18_section_3.html#//apple_ref/doc/uid/TP30000359-TPXREF195
http://msdn.microsoft.com/library/en-us/dnwue/html/ch14e.asp?frame=true


We could add an AutoFill property and set default to false.
If AutoFill=false the ChildSpacing properties will define the space between
the child controls.

Would that be sufficient?

I think it would. (or have a child spacing -1 ?)

Combined with a AutoSize, where the box will perfectly fit around the cheks, would make it complete (I think)

Marc

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

Reply via email to