[Lazarus] GTK2 GroupBox auto size

Henry Vermaak henry.vermaak at gmail.com
Fri Jul 4 13:39:12 CEST 2014


Hi

The GroupBox auto size doesn't work very well, because it doesn't take
the label width into account.  If the label is wider than all of the
children, it will get clipped.  Any reason why GetGTKDefaultWidgetSize
wasn't used, like virtually everywhere else in gtk2wsstdctrls.pp?

I attach a patch that uses GetGTKDefaultWidgetSize.

Henry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk2-groupbox-autosize.patch
Type: text/x-diff
Size: 1606 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140704/c142b38c/attachment.patch>


More information about the Lazarus mailing list