Terry J. Reedy added the comment:
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.
----------
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22065>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com