QTfrontend/ui/page/pagetraining.cpp
changeset 11975 f6fc7e9bef3d
parent 11973 1de4d6b35748
child 11978 de1b616fd5e6
equal deleted inserted replaced
11974:7718ebf8cf14 11975:f6fc7e9bef3d
    77     tbw = new QTabWidget(this);
    77     tbw = new QTabWidget(this);
    78     pageLayout->addWidget(tbw, 1, 0, 1, 2); // span 2 columns
    78     pageLayout->addWidget(tbw, 1, 0, 1, 2); // span 2 columns
    79     // let's not make the tab widget use more space than needed
    79     // let's not make the tab widget use more space than needed
    80     tbw->setFixedWidth(400);
    80     tbw->setFixedWidth(400);
    81     pageLayout->setAlignment(tbw, Qt::AlignHCenter);
    81     pageLayout->setAlignment(tbw, Qt::AlignHCenter);
       
    82     
       
    83     tbw->setStyleSheet("QListWidget { border-style: none; padding-top: 6px; }");
    82 
    84 
    83     // training/challenge/scenario lists
    85     // training/challenge/scenario lists
    84     lstTrainings = new QListWidget(this);
    86     lstTrainings = new QListWidget(this);
    85     lstTrainings ->setWhatsThis(tr("Pick the training to play"));
    87     lstTrainings ->setWhatsThis(tr("Pick the training to play"));
    86 
    88