Change QMenu Shortcut text color
-
Hi,
Did you follow the example from the documentation ?
If so, please provide a minimal compilable example that shows your issue.
-
How can I change the color of QMenu shortcuts and make them align from the right side?
Stylesheets don’t seem to affect the shortcut text -
@APSH Which Qt version? Which operating system?
On some platforms Qt uses native menus by default, which can't be styled to the extent non-native menus can.
-
@IgKh Hi
I am using Ubuntu OS version 22.04.5 LTS and QT 6.8.3.
Is that not supported for customizing QMenu and it's keysequence?@APSH said in Change QMenu Shortcut text color:
Is that not supported for customizing QMenu and it's keysequence?
no - it's one text