--- a/QTfrontend/ui/page/pagetraining.cpp Tue Aug 07 16:07:13 2018 +0200
+++ b/QTfrontend/ui/page/pagetraining.cpp Tue Aug 07 16:23:51 2018 +0200
@@ -56,7 +56,10 @@
// right column
// info area (caption on top, description below)
+ QWidget * infoWidget = new QWidget();
QVBoxLayout * infoLayout = new QVBoxLayout();
+ infoWidget->setObjectName("trainingInfo");
+ infoWidget->setLayout(infoLayout);
lblCaption = new QLabel();
lblCaption->setMinimumWidth(360);
@@ -70,8 +73,8 @@
infoLayout->addWidget(lblCaption);
infoLayout->addWidget(lblDescription);
- pageLayout->addLayout(infoLayout, 0, 1);
- pageLayout->setAlignment(infoLayout, Qt::AlignLeft);
+ pageLayout->addWidget(infoWidget, 0, 1);
+ pageLayout->setAlignment(infoWidget, Qt::AlignLeft);
// tab widget containing all lists