cosmetic Tkinter question

Michael Fuhr mfuhr at fuhr.org
Sun Dec 26 11:24:25 EST 2004


sean_mcilroy at yahoo.com (Sean McIlroy) writes:

> I've got a bunch of Frames, all packed into the root window with
> side=TOP, and in each Frame I've got a Checkbutton packed with
> side=LEFT. I expected the Checkbuttons to be flush with the left edge
> of the window, but they're not, and it looks a little gross. How do I
> get them to align?

You can see what's happening if you create the frames with options
like relief=RIDGE, bd=1.  Read up on how the packer works and how
to control layout with expand, fill, and anchor.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



More information about the Python-list mailing list