On Jul 31, 12:55 am, Peter Otten <__pete...@web.de> wrote:
> AJ wrote:
> > I have written a sample program that ran correctly with earlier than
> > Mac OS 10.6. The answer field Label does not align correctly. I
> > downloaded the latest Python 2.7 release but still did not solve the
> > problem.  Look for line "L4.place(relx=0.32,rely=0.56, anchor=W)"
>
> The underlying Tcl/Tk is more likely to be the cause of your problem, so
> you'd have to look at that.
>
> I'm on Linux with Python2.6 and Tcl/Tk 8.5, and don't see a misalignment.
>
> Stab in the dark: try creating L4 with explicit padding:
>
> L4 = Label(..., padx=0)
>
> Peter
>
> PS: Rantingrick is right; you should use one of the other geometry managers

Thank you Peter. I’ve tried the padding but it does not solve the
issue.  It only does it with Mac OS 10.6. it works fine with Windows
and Linux and earlier Mac OS than 10.6.
To write professional GUI one needs to have full control over the
placement of the Widgets. Some programmers have switched to wxPython
because of this issue and I am trying not to.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to