QTfrontend/ui/page/pageselectweapon.cpp
changeset 11674 d59b6f289e30
parent 11046 47a8c19ecb60
child 12665 5664ec82aed7
equal deleted inserted replaced
11651:e5c101a6fb8d 11674:d59b6f289e30
    38 QLayout * PageSelectWeapon::footerLayoutDefinition()
    38 QLayout * PageSelectWeapon::footerLayoutDefinition()
    39 {
    39 {
    40     QGridLayout * bottomLayout = new QGridLayout();
    40     QGridLayout * bottomLayout = new QGridLayout();
    41 
    41 
    42     selectWeaponSet = new QComboBox(this);
    42     selectWeaponSet = new QComboBox(this);
       
    43     selectWeaponSet->setMaxVisibleItems(50);
    43     bottomLayout->addWidget(selectWeaponSet, 0, 0, 2, 1);
    44     bottomLayout->addWidget(selectWeaponSet, 0, 0, 2, 1);
    44 
    45 
    45     // first row
    46     // first row
    46     BtnNew = addButton(tr("New"), bottomLayout, 0, 1);
    47     BtnNew = addButton(tr("New"), bottomLayout, 0, 1);
    47     BtnDefault = addButton(tr("Default"), bottomLayout, 0, 2);
    48     BtnDefault = addButton(tr("Default"), bottomLayout, 0, 2);