[Lazarus] GroupBox AutoSize issues

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Mar 20 12:57:47 CET 2015

On Fri, 20 Mar 2015 11:31:07 +0000
Henry Vermaak <henry.vermaak at gmail.com> wrote:

> > The gtk2 interface only knows the current size of the child
> > control(s). It does not know the preferred size of the child control(s).
> So how do we fix this?  If the groupbox code is changed so that it only
> evaluates its own minimum size, will the autosize code do the rest, i.e.
> loop over the children and take the maximum width/height?

The LCL takes care of the child sizes.
The gtk2 interfaces needs to add the size of the gtk_frame caption and
other theme specials.
I hope I find the time to implement that soon.


More information about the Lazarus mailing list