Listbox fill=BOTH expand=YES (Tkinter)

Raseliarison nirinA nirina at mail.blueline.mg
Mon Mar 14 14:41:11 EST 2005


"Martin Franklin" wrote:

> 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
>

is YES a valid flag for expand?
maybe expand=1

--
nirinA





More information about the Python-list mailing list