qt: Only enlarge combo box dropdowns and not the combo box itself
This commit is contained in:
@@ -49,7 +49,6 @@ void StyleOverride::polish(QWidget* widget)
|
||||
}
|
||||
|
||||
if (qobject_cast<QComboBox*>(widget)) {
|
||||
widget->setMinimumWidth(widget->minimumSizeHint().width());
|
||||
qobject_cast<QComboBox*>(widget)->view()->setMinimumWidth(widget->minimumSizeHint().width());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user