Re: GtkSizeGroup breakage (was Re: questions re: aux info, size request)



On Tue, Sep 14, 2010 at 3:06 PM, Tristan Van Berkom
<tristanvb openismus com> wrote:

>  <para>
>  Note that only non-contextual sizes of every widget are ever consulted
>  by size groups (since size groups have no knowledge of what size a
>  widget will be allocated in one dimension, it cannot derive how much
>  height a widget will receive for a given width). When grouping widgets
>  that trade height for width in mode %GTK_SIZE_GROUP_VERTICAL or
>  %GTK_SIZE_GROUP_BOTH: the height for the minimum width will be the
>  requested height for all widgets in the group.
>  </para>

It might be good to add another paragraph that explains some ways to
mitigate this: set a reasonable wrap-width on labels, etc.
Also, this affects width-for-height widgets in horizontal size groups
in the same way, no ?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]