From: Kevin Walzer <kw@co...> - 2009-01-09 16:04:39
I'm experimenting with the custom MDEF (menu) bits for a Tk Aqua app,
which allows embedding images in the menu entries, called thus:
set ::tk::mac::useCustomMDEF 1
I notice that the images are flush left against the menu window. The
Mac's UI guidelines call for a little bit of padding when images are
used in menu entries. However, I don't see any hooks to provide this
padding: putting -padx in the Tk 8.5 menu widget demo, for instance,
returns an error.
Is there a way to do this that I'm not seeing, or is this simply a
limitation of the way the menu is handled and I'm out of luck?
Code by Kevin
Get latest updates about Open Source Projects, Conferences and News.