--- a/QTfrontend/ui/page/pagetraining.cpp Wed Jul 17 23:52:01 2019 +0200
+++ b/QTfrontend/ui/page/pagetraining.cpp Thu Jul 18 00:20:50 2019 +0200
@@ -93,18 +93,21 @@
// let's not make the tab widget use more space than needed
tbw->setFixedWidth(400);
pageLayout->setAlignment(tbw, Qt::AlignHCenter);
+
+ QString style = "QListWidget { border-style: none; padding-top: 6px; } QListWidget::item { padding-top: 2px; padding-bottom: 2px; }";
- tbw->setStyleSheet("QListWidget { border-style: none; padding-top: 6px; }");
-
// training/challenge/scenario lists
lstTrainings = new QListWidget(this);
lstTrainings ->setWhatsThis(tr("Pick the training to play"));
+ lstTrainings->setStyleSheet(style);
lstChallenges = new QListWidget(this);
lstChallenges ->setWhatsThis(tr("Pick the challenge to play"));
+ lstChallenges->setStyleSheet(style);
lstScenarios= new QListWidget(this);
lstScenarios->setWhatsThis(tr("Pick the scenario to play"));
+ lstScenarios->setStyleSheet(style);
tbw->addTab(lstTrainings, tr("Trainings"));
tbw->addTab(lstChallenges, tr("Challenges"));