How QMenu text align center and adjust size ?
Unsolved
General and Desktop
-
Hi,
Can you explain a bit more we are looking at ?
What OS are you running ? -
Do you mean a plasma panel ?
What tutorial are you following ? -
@SGaist I learn from my net friend.
https://github.com/pandaos/panda-dock
https://github.com/sonichy/HTYDock_KWin -
Hi
Are you talking about
Anyway, QMenu dont have many options for how it draws so you must use
a proxy style to change it.https://stackoverflow.com/questions/59218378/qmenu-right-align-text
and for the size, i think you need to subclass QMenu and change sizeHint()