SetMinimumHeight of TeamShowWidget. Probably solves tiny team select widget look
authorunc0rr
Sun, 26 Oct 2008 17:23:04 +0000
changeset 1426 b80048899fa7
parent 1425 7ee750565e2d
child 1427 b510f7a74ef6
SetMinimumHeight of TeamShowWidget. Probably solves tiny team select widget look
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()));