spacing reduced, 4 hedgehog per team by default
authordisplacer
Sun, 03 Sep 2006 14:15:41 +0000
changeset 134 3d87d8e58020
parent 133 c79cb5e5b24a
child 135 53faa20669de
spacing reduced, 4 hedgehog per team by default
QTfrontend/frameTeam.cpp
QTfrontend/hedgehogerWidget.cpp
QTfrontend/teamselhelper.cpp
--- a/QTfrontend/frameTeam.cpp	Sun Sep 03 13:54:45 2006 +0000
+++ b/QTfrontend/frameTeam.cpp	Sun Sep 03 14:15:41 2006 +0000
@@ -9,6 +9,7 @@
 FrameTeams::FrameTeams(QWidget* parent) :
   QWidget(parent), mainLayout(this)
 {
+  mainLayout.setSpacing(1);
 }
 
 void FrameTeams::addTeam(HWTeam team, bool willPlay)
--- a/QTfrontend/hedgehogerWidget.cpp	Sun Sep 03 13:54:45 2006 +0000
+++ b/QTfrontend/hedgehogerWidget.cpp	Sun Sep 03 14:15:41 2006 +0000
@@ -4,7 +4,7 @@
 #include <QPainter>
 
 CHedgehogerWidget::CHedgehogerWidget(QWidget * parent) :
-  QWidget(parent), numHedgedogs(3)
+  QWidget(parent), numHedgedogs(4)
 {
 }
 
--- a/QTfrontend/teamselhelper.cpp	Sun Sep 03 13:54:45 2006 +0000
+++ b/QTfrontend/teamselhelper.cpp	Sun Sep 03 14:15:41 2006 +0000
@@ -15,6 +15,7 @@
 TeamShowWidget::TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent) :
   QWidget(parent), mainLayout(this), m_team(team), m_isPlaying(isPlaying)
 {
+  mainLayout.setSpacing(1);
   this->setMaximumHeight(45);
   QPixmap* px=new QPixmap(QPixmap(datadir->absolutePath() + "/Forts/" + m_team.Fort + "L.png").scaled(40, 40));