On 13 Mar 2016 23:25, "boB Stepp" <robertvst...@gmail.com> wrote: > > On Sun, Mar 13, 2016 at 6:06 PM, boB Stepp <robertvst...@gmail.com> wrote: > > On Sun, Mar 13, 2016 at 11:01 AM, Albert-Jan Roskam > > <sjeik_ap...@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 _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor