QTfrontend/ui/page/pagetraining.cpp
changeset 6258 ba9defb98a70
parent 6257 e6690d3a8a44
child 6616 f77bb02b669f
equal deleted inserted replaced
6257:e6690d3a8a44 6258:ba9defb98a70
    77     // mission list
    77     // mission list
    78     lstMissions = new QListWidget(this);
    78     lstMissions = new QListWidget(this);
    79     pageLayout->addWidget(lstMissions, 1, 0, 1, 2); // span 2 columns
    79     pageLayout->addWidget(lstMissions, 1, 0, 1, 2); // span 2 columns
    80 
    80 
    81     // let's not make the list use more space than needed
    81     // let's not make the list use more space than needed
    82     lstMissions->setFixedWidth(360);
    82     lstMissions->setFixedWidth(400);
    83     pageLayout->setAlignment(lstMissions, Qt::AlignHCenter);
    83     pageLayout->setAlignment(lstMissions, Qt::AlignHCenter);
    84 
    84 
    85     return pageLayout;
    85     return pageLayout;
    86 }
    86 }
    87 
    87