Hi Don,

Thanks for that! I actually found the answer about 1 minute before your  
reply so good timing there! Actually, it's slightly different to what you  
suggest. Using gtk.SHRINK seemed to do the trick but I guess gtk.EXPAND  
has a similar effect.

Durand

On Sat, 22 May 2010 00:18:21 +0100, Don Question  
<[email protected]> wrote:

> 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
>
>
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to