Increase size of drop-down lists in team editor
authorWuzzy <almikes@aol.com>
Mon, 18 Apr 2016 18:15:20 +0200
changeset 11672 98545abbedb3
parent 11651 e5c101a6fb8d
child 11673 86cacfde14c4
Increase size of drop-down lists in team editor
QTfrontend/ui/page/pageeditteam.cpp
--- a/QTfrontend/ui/page/pageeditteam.cpp	Wed Apr 13 20:02:14 2016 -0400
+++ b/QTfrontend/ui/page/pageeditteam.cpp	Mon Apr 18 18:15:20 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);