QTfrontend/ui/page/pagemultiplayer.cpp
changeset 12298 91ebbadc461d
parent 12236 a0ed4caa6d35
--- a/QTfrontend/ui/page/pagemultiplayer.cpp	Sat Apr 22 02:33:32 2017 +0200
+++ b/QTfrontend/ui/page/pagemultiplayer.cpp	Sat Apr 22 04:17:51 2017 +0200
@@ -34,10 +34,12 @@
     QHBoxLayout * pageLayout = new QHBoxLayout();
 
     gameCFG = new GameCFGWidget(this);
-    pageLayout->addWidget(gameCFG, 3, Qt::AlignTop);
+    pageLayout->addWidget(gameCFG);
+    pageLayout->setAlignment(gameCFG, Qt::AlignTop);
 
     teamsSelect = new TeamSelWidget(this);
-    pageLayout->addWidget(teamsSelect, 2, Qt::AlignTop);
+    pageLayout->addWidget(teamsSelect);
+    teamsSelect->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
 
     return pageLayout;
 }