-
Notifications
You must be signed in to change notification settings - Fork 730
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
Enhance spacing in menu with/without icons/indicators - overlaps #214
Comments
5 tasks
dpizetta
changed the title
Enhance spacing in menu with icons
Enhance spacing in menu with/without icons/indicators
Mar 30, 2021
dpizetta
changed the title
Enhance spacing in menu with/without icons/indicators
Enhance spacing in menu with/without icons/indicators - overlaps
Mar 30, 2021
There are many issues and seems that fixing one thing breaks another. |
8 tasks
dpizetta
added a commit
that referenced
this issue
Mar 30, 2021
dpizetta
added a commit
that referenced
this issue
Mar 31, 2021
10 tasks
Hello,
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, on Windows 10 we have this behavior, that depends on the Qt version <=5.13, and >=5.14. This is a Qt problem that we have faced for a long time.
The main problem is that when there are only indicators on the menu (checkable actions) the space for the indicator is not reserved, and the text overlaps. However, if you have one icon attributed to any other action in the menu, space is reserved.
There is no way to check if there are indicators/icons to change the padding according to them.
If we add padding, all texts are shifted.
See the examples. More info about the versions is in the gifs. The order is: 5.[12,13,14,15].latest
WORKAROUND
Add a transparent icon to at least one action in the specific menu with the problem. I've tried to add a background/image background but it does not work. This should be a good way to keep the best spacing. I'll reopen a related problem in the Qt repository.
The text was updated successfully, but these errors were encountered: