[Tutor] Pmw/Tkinter question
Oscar Benjamin
oscar.j.benjamin at gmail.com
Sun Mar 13 20:03:57 EDT 2016
On 13 Mar 2016 23:25, "boB Stepp" <robertvstepp at gmail.com> wrote:
>
> On Sun, Mar 13, 2016 at 6:06 PM, boB Stepp <robertvstepp at gmail.com> wrote:
> > On Sun, Mar 13, 2016 at 11:01 AM, Albert-Jan Roskam
> > <sjeik_appie at hotmail.com> wrote:
> >> ----------------------------------------
> >
> >> Thanks! However, if you replace 'broccoli' with a much longer option,
you will see what I meant with the alignment problem. One can no longer
read the first letters of the option once it's selected.
> >> That's kinda ugly IMHO. Peter's suggestion solves it (but it uses a
private/undocumented method).
> >
> > Did you actually run the amended code I posted? On my PC and
> > environment (Win7-64bit, Py 3) everything looks aligned even when I
> > add back in your long "broccoli-..." option. I will send you a png
> > image of what I am seeing on my PC privately.
>
> CURSES!!! I deeply apologize. I have been out of the house all day.
> I had stayed up late last night and forgot I had played around with
> Peter's suggestion. The screen capture I just sent you privately
> reflects Peter's suggestion. When I removed his line, you are right,
> with the longer string sequence it is *not* left justified as it
> should be.
>
> Ah, well. I tried to be helpful.
I often get confused when trying to work with bits to of code from mailing
list discussions. It's really okay and it's great to let people know if you
realise that you previously misunderstood something. Otherwise your
original confusion lingers in the minds of everyone on the list!
--
Oscar
More information about the Tutor
mailing list