QTfrontend/ui/page/pagecampaign.cpp
changeset 13632 4c49a4944884
parent 12240 88b31fdc760b
child 13834 e3fee73c51a0
--- a/QTfrontend/ui/page/pagecampaign.cpp	Tue Aug 07 16:07:13 2018 +0200
+++ b/QTfrontend/ui/page/pagecampaign.cpp	Tue Aug 07 16:23:51 2018 +0200
@@ -33,7 +33,10 @@
     pageLayout->setRowStretch(0, 1);
     pageLayout->setRowStretch(3, 1);
 
+    QWidget * infoWidget = new QWidget();
+    infoWidget->setObjectName("campaignInfo");
     QGridLayout * infoLayout = new QGridLayout();
+    infoWidget->setLayout(infoLayout);
     infoLayout->setColumnStretch(0, 1);
     infoLayout->setColumnStretch(1, 1);
     infoLayout->setColumnStretch(2, 1);
@@ -69,7 +72,7 @@
     infoLayout->addWidget(lbltitle,0,2,1,2);
     infoLayout->addWidget(lbldescription,1,2,1,2);
 
-    pageLayout->addLayout(infoLayout, 0, 0, 2, 4);
+    pageLayout->addWidget(infoWidget, 0, 0, 2, 4);
     pageLayout->addWidget(lblteam, 2, 1);
     pageLayout->addWidget(lblcampaign, 3, 1);
     pageLayout->addWidget(lblmission, 4, 1);