[pygtk] Prevent expansion of combobox in a table
Don Question
donquestion at rocketmail.com
Sat May 22 07:18:21 WST 2010
Hi Durand,
my guess is you don't want the child widgets to fill the extra space.
So i guess you should be able to solve your problem with the following change
in line 59:
---snip--
table.attach(self.kanji_entry, 0, 2, 0, 1, xoptions=gtk.EXPAND, yoptions=gtk.EXPAND)
--snap--
the default behaviour is xoptions=gtk.EXPAND|gtk.FILL and yoptions=gtk.EXPAND|gtk.FILL.
Hope this solves your issue.
Don
More information about the pygtk
mailing list