Listbox fill=BOTH expand=YES (Tkinter)

Martin Franklin mfranklin1 at gatwick.westerngeco.slb.com
Mon Mar 14 06:34:28 EST 2005


Harlin Seritt wrote:
> I am trying the following:
> 
> Listbox(parent).pack(fill=BOTH, expand=YES)
> 
> I notice that the listbox will fill on the X axis but will not on the Y
> axis unlike other widgets. Is there any way to force this?
> 
> thanks,
> 
> Harlin
> 

Harlin,

It should expand (and fill ) in both directions have you checked it's
parents packing options?

Martin






More information about the Python-list mailing list