QTfrontend/ui/page/pagenetgame.cpp
changeset 13703 9b73f079e811
parent 13694 27e5e311c7a3
--- a/QTfrontend/ui/page/pagenetgame.cpp	Sat Aug 25 20:52:33 2018 +0200
+++ b/QTfrontend/ui/page/pagenetgame.cpp	Sat Aug 25 21:00:26 2018 +0200
@@ -143,13 +143,13 @@
     QSize sz = lp.actualSize(QSize(65535, 65535));
     BtnStart = new QPushButton();
     BtnStart->setText(tr("Start"));
+    BtnStart->setStyleSheet("padding: 5px 10px");
     BtnStart->setWhatsThis(tr("Start fighting (requires at least 2 teams)"));
-    BtnStart->setMinimumWidth(sz.width() + 60);
     BtnStart->setIcon(lp);
     BtnStart->setFixedHeight(50);
     BtnStart->setIconSize(sz);
     BtnStart->setFlat(true);
-    BtnStart->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
+    BtnStart->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
     bottomLayout->addWidget(BtnStart, 0, Qt::AlignBottom);
 
     return bottomLayout;