QTfrontend/teamselhelper.cpp
changeset 84 0f6669da2fcb
parent 80 3c3dc6a148ca
child 86 664b536a1c27
--- a/QTfrontend/teamselhelper.cpp	Mon Jul 24 14:03:51 2006 +0000
+++ b/QTfrontend/teamselhelper.cpp	Mon Jul 24 22:37:34 2006 +0000
@@ -11,6 +11,7 @@
 TeamShowWidget::TeamShowWidget(tmprop team, QWidget * parent) :
   QWidget(parent), mainLayout(this), m_team(team)
 {
+  this->setMaximumHeight(30);
   QLabel* pixlbl=new QLabel();
   pixlbl->setPixmap(QPixmap("./Data/Graphics/thinking.png"));
   mainLayout.addWidget(pixlbl);
@@ -19,6 +20,8 @@
   mainLayout.addWidget(lbl);
 
   QPushButton* butt=new QPushButton("o");
+  butt->setGeometry(0, 0, 25, 25);
+  butt->setMaximumWidth(25);
   mainLayout.addWidget(butt);
 
   QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam()));