1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Improve map projections combo box creation time

(but make the combo box less user-friendly)
This commit is contained in:
Martin Tůma 2021-06-27 22:19:19 +02:00
parent 0dcfeeead1
commit fa0f7f95d2

View File

@ -10,6 +10,7 @@ public:
LimitedComboBox(int limit, QWidget *parent = 0)
: QComboBox(parent), _limit(limit)
{
setSizeAdjustPolicy(AdjustToMinimumContentsLengthWithIcon);
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
setStyleSheet("combobox-popup: 0;");
}