-
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
QComboBox renders icons on text-only items #308
Comments
Hi there, I have the same issue/question, however I am using Python/PyQt5. |
We have the same issue with CentOS 7, Qt 5.12, QDarkStyle 3.0.2. |
Hello! So you are aware, I am still having this issue on macOS Catalina, Python 3.8 (checked on 3.9 as well) using PyQt5 5.15.7 and QDarkStyle 3.1. Same results if I downgrade to an earlier version of PyQt5 (5.12.3) |
The generated qss content make this issue. I can't find out which line is wrong, but remove these sections will fix it.
This is my solution.
Set icon size of combox to 0 will looks better.
|
Environment
Language
C++
Description / Steps to Reproduce [if necessary]
Dropped down combobox displays icons for items with empty icons.
Actual Result
Expected Results / Proposed Result
Screenshot with
app.setStyleSheet(...);
commented out.Relevant Code
The text was updated successfully, but these errors were encountered: