merge commit by Wuzzy that allows drop down lists in team edit screen to display more items at a time, if possible
authorsheepluva
Sat, 23 Apr 2016 12:02:39 +0200
changeset 11673 86cacfde14c4
parent 11671 51c4ea6d7f91 (current diff)
parent 11672 98545abbedb3 (diff)
child 11675 8efe91eae41e
merge commit by Wuzzy that allows drop down lists in team edit screen to display more items at a time, if possible
--- a/QTfrontend/ui/page/pageeditteam.cpp	Sat Apr 23 11:51:21 2016 +0200
+++ b/QTfrontend/ui/page/pageeditteam.cpp	Sat Apr 23 12:02:39 2016 +0200
@@ -129,16 +129,19 @@
 
     CBGrave = new QComboBox(GBoxTeam);
     CBGrave->setMaxCount(65535);
+    CBGrave->setMaxVisibleItems(20);
     CBGrave->setIconSize(QSize(32, 32));
     GBTLayout->addWidget(CBGrave, 2, 1);
 
     CBFlag = new QComboBox(GBoxTeam);
     CBFlag->setMaxCount(65535);
+    CBFlag->setMaxVisibleItems(50);
     CBFlag->setIconSize(QSize(22, 15));
     GBTLayout->addWidget(CBFlag, 3, 1);
 
     QHBoxLayout * hbox = new QHBoxLayout();
     CBVoicepack = new QComboBox(GBoxTeam);
+    CBVoicepack->setMaxVisibleItems(50);
 
     hbox->addWidget(CBVoicepack, 100);
     btnTestSound = addSoundlessButton(":/res/PlaySound.png", hbox, 1, true);