[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: spanned table cell expansion
- From: Christopher Anderson <sidewinder asu gmail com>
- To: "Karl H. Beckers" <karl h beckers gmx net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: spanned table cell expansion
- Date: Fri, 17 Jun 2005 09:42:38 -0700
Could you post a bit of code so we can get a better idea of what's going on?
Chris
On 6/17/05, Karl H. Beckers <karl h beckers gmx net> wrote:
> Hi all,
>
> I'm having this effect where my table cells aren't expanding as I expect
> them to. If somebody could shed some light here (perhaps provide a
> workaround) that would be most welcome.
>
> I have reduced this to the max. Let's say we have this table with 3
> columns and 2 rows where in each row there is a widget spanning two
> columns, like this:
>
> .....................................................................
>
> | +------------------+ | +--------------------+-------------------+ |
>
> | | checkbutton | | | entry | | |
>
> | +------------------+ | +--------------------+-------------------+ |
>
> | +--------------------+--------------------+ | +-----------------+ |
>
> | | hscale | | | | checkbutton | |
>
> | +--------------------+--------------------+ | +-----------------+ |
>
> '`'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
>
> I've set both checkbuttons to not horizontally expand the surrounding
> container and the entry and hscale to do so. This (so I expected) should
> make the middle column take care of any extra space needed without the
> outer columns ever changing width.
>
> However, this is not at all what's happening. It looks like the space
> added to e.g. the hscale is divided evenly between the spanned columns
> (rather than implementing a more complex algo for finding out if a given
> widget is perhaps the only expaning widget on a spanned column while
> other spanned columns may have other expanding widgets, or smth. the
> like), and thus also added to the first one.
>
> Any ideas, pointers?
>
> TIA,
>
> Karl.
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]