Reputation: 14081
Compiled with Qt 5.12 (same code as used with the Qt 5.11 version described below) my menus appear with extra space. Is there are particular reason for that, or is it maybe a Qt bug? Any chance to avoid that extra space?
5.12 version:
5.11 version:
Upvotes: 0
Views: 296
Reputation: 14081
As Eelke pointed out above, it was an applied style (qss
) that cause the behavior. Issue gone, however no idea why the style did work until 5.12 and suddenly does not anymore.
For the record: QMenu::item { padding: 4px 25px 4px 20px; }
caused it
Upvotes: 2