[Pythonmac-SIG] Tkinter ttk question
wrw at mac.com
wrw at mac.com
Wed Oct 3 03:00:58 CEST 2012
On Oct 2, 2012, at 8:35 PM, Kevin Walzer <kw at codebykevin.com> wrote:
> On 10/2/12 4:34 PM, wrw at 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 at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
That worked. Thanks. Bill
More information about the Pythonmac-SIG
mailing list