Expanding tkinter widgets to fill the window
Hi, I am writing a GUI front end in Python using Tkinter. I have developed the GUI in a grid and specified the size of the window. The widgets are centered into the middle of the window. I would like them to fill the window. I tried using the sticky=E+W+N+S option on the widgets themselves and the window itself. How can I get this? Thanks. -- http://mail.python.org/mailman/listinfo/python-list
Re: Expanding tkinter widgets to fill the window
KDawg44 wrote: I am writing a GUI front end in Python using Tkinter. I have developed the GUI in a grid and specified the size of the window. The widgets are centered into the middle of the window. I would like them to fill the window. I tried using the sticky=E+W+N+S option on the widgets themselves and the window itself. How can I get this? If at all possible post a short, self-contained, correct, example demonstrating your question. http://homepage1.nifty.com/algafield/sscce.html A. -- http://mail.python.org/mailman/listinfo/python-list
Re: Expanding tkinter widgets to fill the window
On Friday 20 April 2007 13:56, Anton Vredegoor wrote: KDawg44 wrote: I am writing a GUI front end in Python using Tkinter. I have developed the GUI in a grid and specified the size of the window. The widgets are centered into the middle of the window. I would like them to fill the window. I tried using the sticky=E+W+N+S option on the widgets themselves and the window itself. How can I get this? If at all possible post a short, self-contained, correct, example demonstrating your question. http://homepage1.nifty.com/algafield/sscce.html A. try; sticky = NSEW without plus signs headFrame = Frame(win01, bg = 'light grey', bd=10) headFrame.grid(row = 0, column=0, sticky = NSEW) jim-on-linux http://www.inqvista.com -- http://mail.python.org/mailman/listinfo/python-list