mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Improve map projections combo box creation time
(but make the combo box less user-friendly)
This commit is contained in:
parent
0dcfeeead1
commit
fa0f7f95d2
@ -10,6 +10,7 @@ public:
|
|||||||
LimitedComboBox(int limit, QWidget *parent = 0)
|
LimitedComboBox(int limit, QWidget *parent = 0)
|
||||||
: QComboBox(parent), _limit(limit)
|
: QComboBox(parent), _limit(limit)
|
||||||
{
|
{
|
||||||
|
setSizeAdjustPolicy(AdjustToMinimumContentsLengthWithIcon);
|
||||||
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
|
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
|
||||||
setStyleSheet("combobox-popup: 0;");
|
setStyleSheet("combobox-popup: 0;");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user