Skip to content
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

AddonManager: Dropdown checkboxes huge and not aligned #2

Open
maxwxyz opened this issue Apr 20, 2024 · 2 comments
Open

AddonManager: Dropdown checkboxes huge and not aligned #2

maxwxyz opened this issue Apr 20, 2024 · 2 comments

Comments

@maxwxyz
Copy link
Collaborator

maxwxyz commented Apr 20, 2024

Not sure if fixable with a theme but the dropdown menu in the addon manager has huge checkmarks and boxes and they are not vertically centered / alignes which becomes visible when hovering the entries:
307524809-86125f95-0e5a-4586-b3ef-f5921cfe8ef9
324186726-35d69039-ee4e-49f4-ab72-5a2546c7d2a2

@obelisk79
Copy link
Owner

Just for clarity this is an issue on my system even when No Stylesheet is applied. Perhaps something with the way Chris constructed this when we revamped the addon manager. Same with the stop icon regression. I'll see if I can address it directly in OpenTheme. Although perhaps @kadet1090 would be willing to look into addon manager source being the code ninja that he is so these will just respect the stylesheet as-is.
I found the python where it is created: src/Mod/AddonManager/Widgets/addonmanager_widget_filter_selector.py

I might be able to style the check box by targeting the class via the stylesheet, but this would be a (hopefully temporary) hack.

@MisterMakerNL
Copy link

Try this style:
FreeCAD/FreeCAD#13772 (comment)
I bet it's:
QComboBox::indicator {
padding-left: 8px;
background-color: transparent;
}

QComboBox::indicator:checked {
width: 10px;
height: 10px;
image: url(qss:images_classic/Check-Checked-white.png);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants