|
From: Joe E. <jen...@fl...> - 2005-09-19 15:00:18
|
Schelte Bron wrote: > The menubutton in the xpnative theme doesn't look like a button > at all. [...] > But that's all avoiding the real issue: I think a menubutton > should look like a button in the xpnative theme, just like it > does in all the other themes. The toolbar look should be > obtained by specifying: -style Toolbutton. Which brings up a good question: what should [ttk::menubutton]s look like by default? There are a number of possibilities: (1) a borderless, plain label with minimal padding, suitable for use in a menubar; (2) a distinct button with standard button border and an indicator (usually a downward-pointing arrow) on the right side; or (3) a toolbar-style button, flat by default, raises when the mouse cursor hovers over it. (1) is the default for core [menubutton]s, probably for compatibility with Tk 3; nowadays it's better to use [menu]s instead of a series of [menubutton]s to build menu bars. (2) is what you get with [tk_optionMenu]. Tile uses option (2) in most themes, except for Windows XP where it uses (3). I can't find very many modern UIs that use menubuttons other than in toolbars; comboboxes (read-only or otherwise) are much more common (though some KDE apps use something like optionmenus). What do others think? What, if anything, do you use menubuttons for, and what's the best default look and feel? Also relevant: #1183071 and #1263470. --Joe English jen...@fl... |