qt - Setting height of QMenu items -
is possible style qmenu:item
set custom height?
i need popup menu, i've been seeing seems it's not possible maybe knows sure.
have tried use qss
? works fine me:
qmenu::item { height: 42px; margin: 0px; }
you can use pmenu->setstylesheet("qmenu::item { height: 42px; margin: 0px; }");
.
note: make sure use ::
, not :
reference item.
Comments
Post a Comment