Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Combo box dropdown size Linux/Mac #38

Closed
ljjh20 opened this issue Feb 24, 2021 · 1 comment
Closed

Combo box dropdown size Linux/Mac #38

ljjh20 opened this issue Feb 24, 2021 · 1 comment

Comments

@ljjh20
Copy link
Contributor

ljjh20 commented Feb 24, 2021

First item in combo box dropdown fills window. Could not fix with changing size policy, setting minimum height, or changing .view().setMaximumHeight. Appears to be a bug with QDarkStyle on Max and Linux: ColinDuquesnoy/QDarkStyleSheet#200

Attempt to fix and check if problem persists on Windows.

@AhmetCanSolak
Copy link
Contributor

@ljjh20 you can pass styleSheet="combobox-popup: 0;" as keyword argument to your QComboBox() call. That will do.

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

No branches or pull requests

2 participants