Hi - I am using QMenu, and I am using a large font in the menu. I am providing 24x24 pixel icons to the QMenu when I add actions to it, but when the menu renders, my icons have been "downsized" to 16x16 pixels, and look too small next to my larger menu text.
I could not find out how to set the icon size -- I tried setting the style of the menu to this style sheet, but no joy. Any help is much appreciated!
QMenu::item { padding: 2px 32px 2px 20px; }
QMenu::item:selected { background-color: blue; color: white }
QMenu::icon { width:24px; height:24px; }
QMenu::indicator { width:24px; height:24px; }
- Greg
Bookmarks