cosmetic Tkinter question

Michael Fuhr mfuhr at
Sun Dec 26 17:24:25 CET 2004

sean_mcilroy at (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

More information about the Python-list mailing list