On Fri, 20 Mar 2015 11:31:07 +0000
Henry Vermaak <[email protected]> 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.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to