Re: filling a frame with a widget

2006-10-04 Thread jmdeschamps
Fredrik Lundh wrote: > Paolo Pantaleo wrote: > > >I have this code > > > > from Tkinter import * > > > > root=Tk() > > Button(root).pack(fill=BOTH) > > root.mainloop() > > > > I would expect the button filling all the client draw area of the > > Frame, but when I resize the root window the button

Re: Tk: filling a frame with a widget

2006-10-04 Thread jmdeschamps
Paolo Pantaleo wrote: > I have this code > > from Tkinter import * > > root=Tk() > Button(root).pack(fill=BOTH) > root.mainloop() > > I would expect the button filling all the client draw area of the > Frame, but when I resize the root window the button becomes wider, but > not higher ( I get some

Re: filling a frame with a widget

2006-10-04 Thread Fredrik Lundh
Paolo Pantaleo wrote: >I have this code > > from Tkinter import * > > root=Tk() > Button(root).pack(fill=BOTH) > root.mainloop() > > I would expect the button filling all the client draw area of the > Frame, but when I resize the root window the button becomes wider, but > not higher ( I get some

Tk: filling a frame with a widget

2006-10-04 Thread Paolo Pantaleo
I have this code from Tkinter import * root=Tk() Button(root).pack(fill=BOTH) root.mainloop() I would expect the button filling all the client draw area of the Frame, but when I resize the root window the button becomes wider, but not higher ( I get some empty space under the button). How could