1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 13:41:16 +01:00

Always limit the number of shown items in the combo box.

This commit is contained in:
Martin Tůma 2019-05-15 20:33:03 +02:00
parent 8a8595d98e
commit 268c42ab03

View File

@ -11,6 +11,7 @@ public:
: QComboBox(parent), _limit(limit) : QComboBox(parent), _limit(limit)
{ {
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed); setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
setStyleSheet("combobox-popup: 0;");
} }
QSize sizeHint() const QSize sizeHint() const