Volunteer for #1261 "Table expansion is a little strange"?
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list gnome org
- Subject: Volunteer for #1261 "Table expansion is a little strange"?
- Date: Mon, 21 Jan 2002 15:55:12 -0500 (EST)
I'm wondering if someone wants to take a look at:
 http://bugzilla.gnome.org/show_bug.cgi?id=1261
The problem, simply put, is that if, in a table, you have a layout like:
 +---------------------------------------------------------|
 |            A (request.width = 300)                      |
 +---------------------------------------------------------+
 | B (request.width = 100)   | C (request.width = 100      |
 |      expand = FALSE       |     expand = TRUE           |
 +---------------------------------------------------------+
Then B and C are both allocated to 150 pixels wide, instead of the
expected B = 100, C = 200.
The problem here is that row spanning in GtKTable is handled by simply
increasing the requisiiton of all the spanned columns.
I think this is very clearly a bug, but it's one that is probably
not a good idea to fix during a stable branch since it will change
people's layouts to fix it. 
Unfortunately, it's rather non-trivial to fix since it involves
modifying the complex GtkTable layout algorithm, and possibly reworking
it substantially, but it might be a fun one or two day project
for someone. 
Regards,
                                        Owen
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]