spanned table cell expansion
- From: "Karl H. Beckers" <karl h beckers gmx net>
- To: gtk-app-devel-list gnome org
- Subject: spanned table cell expansion
- Date: Fri, 17 Jun 2005 16:23:15 +0200
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]