# HG changeset patch # User unc0rr # Date 1225041784 0 # Node ID b80048899fa7d6260a66eb10c600a37529e54011 # Parent 7ee750565e2d84e53dfb87252602c67279316052 SetMinimumHeight of TeamShowWidget. Probably solves tiny team select widget look diff -r 7ee750565e2d -r b80048899fa7 QTfrontend/teamselhelper.cpp --- a/QTfrontend/teamselhelper.cpp Sun Oct 26 17:18:58 2008 +0000 +++ b/QTfrontend/teamselhelper.cpp Sun Oct 26 17:23:04 2008 +0000 @@ -43,6 +43,7 @@ mainLayout.setSpacing(3); mainLayout.setMargin(0); this->setMaximumHeight(30); + this->setMinimumHeight(30); QIcon difficultyIcon=team.isNetTeam() ? QIcon(QString(":/res/botlevels/net%1.png").arg(m_team.difficulty)) : QIcon(QString(":/res/botlevels/%1.png").arg(m_team.difficulty)); @@ -73,6 +74,7 @@ phhoger = new CHedgehogerWidget(QImage(":/res/hh25x25.png"), this); connect(phhoger, SIGNAL(hedgehogsNumChanged()), this, SLOT(hhNumChanged())); mainLayout.addWidget(phhoger); + } else { } QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam()));