Re: GtkSizeGroup breakage (was Re: questions re: aux info, size request)
- From: Matthias Clasen <matthias clasen gmail com>
- To: Tristan Van Berkom <tristanvb openismus com>
- Cc: gtk-devel-list <gtk-devel-list gnome org>, Havoc Pennington <hp pobox com>
- Subject: Re: GtkSizeGroup breakage (was Re: questions re: aux info, size request)
- Date: Tue, 14 Sep 2010 15:09:41 -0400
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 ?
- References:
- questions re: aux info, size request
- Re: questions re: aux info, size request
- Re: questions re: aux info, size request
- Re: questions re: aux info, size request
- Re: questions re: aux info, size request
- Re: questions re: aux info, size request
- Re: questions re: aux info, size request
- Re: questions re: aux info, size request
- GtkSizeGroup breakage (was Re: questions re: aux info, size request)
- Re: GtkSizeGroup breakage (was Re: questions re: aux info, size request)
- Re: GtkSizeGroup breakage (was Re: questions re: aux info, size request)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]