-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No checked hint of checkable actions inside menu entries #338
Comments
Hey @mgrojo thanks for reporting. QMenus and QComboBox are very complicated to deal with and correlated. This case is a special one where there is an icon + checkable action. You can also notice a space between the icon and name, which it was supposed to have a checkbox, or another indicator without this space as you mentioned. This is related to #308 and many other closed ones like #214. @ccordoba12 do you think @conradolandia can help us with this, since its more related to CSS? |
Yep, I think so. Is the idea to add a new css rule to the checked state of actions in QMenus? |
Yep, I think so too.
Probably not with css alone, but I really don't know. |
Maybe using pseudo-classes like |
In the first example, maybe we can remove the extra space (where the check status go). It should be tested with checkable combo boxes too. Thanks for your attention on this. |
Describe Your Environment
[Versions from your environment]
Language
C++
Description / Steps to Reproduce [if necessary]
Place a checkable action in a menu. Check and uncheck the entry.
Actual Result
There is no display hint about whether the menu entry is checked or not.
Expected Results / Proposed Result
Clear indication of the checked entries, like in the default style:
Relevant Code [if necessary]
Related UI definition in DB Browser for SQLite:
https://github.com/sqlitebrowser/sqlitebrowser/blob/e77ae65c11a44c00489596120aff990e4df0a9d4/src/MainWindow.ui#L823
The text was updated successfully, but these errors were encountered: