From: AJ on
On Jul 31, 12:55 am, Peter Otten <__pete...(a)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.
From: AJ on
On Jul 31, 8:04 am, r <rt8...(a)gmail.com> wrote:
> On Jul 31, 2:55 am, Peter Otten <__pete...(a)web.de> wrote:
>
> > PS: Rantingrick is right; you should use one of the other geometry managers
>
> Incidentally I was actually writing a version of the OP's script using
> the grid manager when i found his nasty response. So I think i'll just
> keep it for me self now. Good luck AJ. ;-)

Thank you. Do not let it get to you. There are some people like that.
If you have an idea or need help do not be distracted by this. Just
post it and hope someone can help you. This is more beneficial for you
and others who have the same questions and some day you may be helping
others. Cheers!