QTfrontend/ui/widget/teamselect.cpp
changeset 8886 5c521d1fdd63
parent 8726 ef2abeafa7cb
child 8910 a60f7ebab219
--- a/QTfrontend/ui/widget/teamselect.cpp	Sun Apr 07 16:35:48 2013 -0400
+++ b/QTfrontend/ui/widget/teamselect.cpp	Sun Apr 07 19:42:02 2013 -0400
@@ -258,12 +258,16 @@
 
     // Add notice about number of required teams.
     numTeamNotice = new QLabel(tr("At least two teams are required to play!"));
+    numTeamNotice->setWordWrap(true);
     mainLayout.addWidget(numTeamNotice);
 
     QPalette p;
     p.setColor(QPalette::Window, QColor(0x00, 0x00, 0x00));
     addScrArea(framePlaying, p.color(QPalette::Window).light(105), 150);
     addScrArea(frameDontPlaying, p.color(QPalette::Window).dark(105), 0);
+
+    this->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
+    this->setMinimumWidth(200);
 }
 
 void TeamSelWidget::setAcceptOuter(bool acceptOuter)