Message225342
The changes to help menu creation in #22053 required hand patching of the last chunk, but that was pretty easy. The code definitely looks better for the change.
After pushing, I compared the look to 2.7. The first letters are not underlined, but Alt-<first letter> works, as on Idle (where File prevent key access to Format). This looks better, but I don't know if the underline helps beginners.
In spite of
self.mBar.add_cascade(menu=self.makeLoadDemoMenu(self.mBar),
label='Examples', underline=0, font=menufont)
passing menufont, the font for the menubar entries, 'Examples' and 'Help', is no longer the 12 pt menufont, but looks like 10 pt (as on Idle). It is initially lighter than it was before until clicked. The dropdown entries (added with add_command instead of add_cascade) do use the 12 pt menufont as passed. The size difference looks a bit strange. So if anyone knows why, speak up. |
|
Date |
User |
Action |
Args |
2014-08-15 05:46:51 | terry.reedy | set | recipients:
+ terry.reedy, ned.deily, python-dev, serhiy.storchaka, Lita.Cho |
2014-08-15 05:46:51 | terry.reedy | set | messageid: <1408081611.05.0.103365369634.issue22065@psf.upfronthosting.co.za> |
2014-08-15 05:46:51 | terry.reedy | link | issue22065 messages |
2014-08-15 05:46:50 | terry.reedy | create | |
|