QTfrontend/ui/page/pageeditteam.cpp
changeset 6200 6a4ace88d85a
parent 6196 c16e84558f71
child 6212 a5d95f32e17f
--- a/QTfrontend/ui/page/pageeditteam.cpp	Mon Oct 24 11:14:09 2011 +0200
+++ b/QTfrontend/ui/page/pageeditteam.cpp	Mon Oct 24 20:01:25 2011 +0200
@@ -77,10 +77,10 @@
         HHNameEdit[i]->setMinimumWidth(120);
         GBHLayout->addWidget(HHNameEdit[i], i, 1);
 
-        btnRandomHogName[i] = addButton(":/res/dice.png", GBHLayout, i, 3, true);
+        btnRandomHogName[i] = addButton(":/res/dice.png", GBHLayout, i, 3, 1, 1, true);
     }
 
-    btnRandomTeam = addButton(QPushButton::tr("Random Team"), GBHLayout, 9, false);
+    btnRandomTeam = addButton(QPushButton::tr("Random Team"), GBHLayout, 9, 1);
 
     vbox1->addWidget(GBoxHedgehogs);