On Oct 2, 2012, at 8:35 PM, Kevin Walzer <k...@codebykevin.com> wrote:
> On 10/2/12 4:34 PM, w...@mac.com wrote: >> The problem I'm having is that this doesn't work. If I resize the >> window, the light gray background doesn't expand with the root window. >> I get a light gray patch the size of the original frame, but it is >> surrounded by white space. Can anyone tell me what I'm doing wrong. > > I prefer pack to grid. Try this: > > mainframe.pack(fill=BOTH, expand=YES) > > --Kevin > > -- > Kevin Walzer > Code by Kevin > http://www.codebykevin.com > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG That worked. Thanks. Bill _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG