QTfrontend/ui/page/pagemultiplayer.cpp
changeset 12236 a0ed4caa6d35
parent 11819 7642955690bc
child 12298 91ebbadc461d
--- a/QTfrontend/ui/page/pagemultiplayer.cpp	Wed Apr 12 19:46:59 2017 +0200
+++ b/QTfrontend/ui/page/pagemultiplayer.cpp	Wed Apr 12 20:14:17 2017 +0200
@@ -59,14 +59,14 @@
     const QIcon& lp = QIcon(":/res/Start.png");
     QSize sz = lp.actualSize(QSize(65535, 65535));
     BtnStartMPGame = new QPushButton();
+    BtnStartMPGame->setStyleSheet("padding: 5px 10px");
     BtnStartMPGame->setText(tr("Start"));
     BtnStartMPGame->setWhatsThis(tr("Start fighting (requires at least 2 teams)"));
-    BtnStartMPGame->setMinimumWidth(sz.width() + 60);
     BtnStartMPGame->setIcon(lp);
     BtnStartMPGame->setFixedHeight(50);
     BtnStartMPGame->setIconSize(sz);
     BtnStartMPGame->setFlat(true);
-    BtnStartMPGame->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
+    BtnStartMPGame->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
 
     footerLayout->addStretch();
     footerLayout->addWidget(BtnStartMPGame, 0, Qt::AlignBottom);