OSX Mavericks 10.9.4, Mono 2.10.12, MonoDevelop 3.1.1
No matter what I do, I can't get the mnemonic underline on my (text) button to show (even when I keep Alt/Command pressed). Here's what I tried:
- Using MonoDevelop's Stetic GUI designer with an underscore in the label (e.g. _test) and enabling UseUnderline
- Creating the button manually with
Button.NewWithMnemonic
- Creating the button's label manually and setting its
TextWithMnemonic
- Setting
gtk-enable-mnemonics = 1
andgtk-auto-mnemonics = 0
in/Library/Frameworks/Mono.framework/Versions/Current/etc/gtk-2.0/gtkrc (there wasn't anygtkrc
/.gtkrc
/.gtkrc=2.0
file in my home folder) - Switching my entire GTK theme (link)
In all my attempts the button shows and works fine, and the underscore is "swallowed" as expected (i.e. it shows test and not _test) but the underline doesn't show and the accelerator doesn't work. If I add the accelerator explicitly with AddAccelerator
it works, but still no underline.