[Lazarus] GTK2 GroupBox auto size

Henry Vermaak henry.vermaak at gmail.com
Fri Jul 4 14:03:56 CEST 2014


On Fri, Jul 04, 2014 at 12:39:12PM +0100, Henry Vermaak wrote:
> 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.

http://bugs.freepascal.org/view.php?id=20447

Henry




More information about the Lazarus mailing list