summaryrefslogtreecommitdiff
path: root/src/gui/status.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-07 14:02:37 -0700
committerIra Rice <irarice@gmail.com>2009-02-07 14:02:37 -0700
commite973dd25b1181ddb554a56888c3c361f131b4b3a (patch)
treec368016db2abcae7fcceaeb0b7184f2499ae433b /src/gui/status.cpp
parentdf49049a3951421c39340a8ca4b8dba18056daf0 (diff)
downloadmana-client-e973dd25b1181ddb554a56888c3c361f131b4b3a.tar.gz
mana-client-e973dd25b1181ddb554a56888c3c361f131b4b3a.tar.bz2
mana-client-e973dd25b1181ddb554a56888c3c361f131b4b3a.tar.xz
mana-client-e973dd25b1181ddb554a56888c3c361f131b4b3a.zip
Added a bit more spacing for stat labels as well, which I didn't think
about in the last commit. They may work for each of the languages already tested, but this will make sure that it's wide enough for the ones which haven't been tested. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/status.cpp')
-rw-r--r--src/gui/status.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index f808eadf..e0e43b36 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -127,29 +127,29 @@ StatusWindow::StatusWindow(LocalPlayer *player):
place.getCell().matchColWidth(0, 1);
place = getPlacer(0, 3);
place(0, 0, mStatsTitleLabel, 5);
- place(4, 1, mStatsTotalLabel, 5);
- place(11, 1, mStatsCostLabel, 5);
+ place(5, 1, mStatsTotalLabel, 5);
+ place(12, 1, mStatsCostLabel, 5);
for(int i = 0; i < 6; i++)
{
- place(0, 2 + i, mStatsLabel[i], 3).setPadding(5);
- place(6, 2 + i, mStatsDisplayLabel[i]).setPadding(5);
- place(9, 2 + i, mStatsButton[i]);
- place(11, 2 + i, mPointsLabel[i]).setPadding(5);
+ place(0, 2 + i, mStatsLabel[i], 7).setPadding(5);
+ place(7, 2 + i, mStatsDisplayLabel[i]).setPadding(5);
+ place(10, 2 + i, mStatsButton[i]);
+ place(12, 2 + i, mPointsLabel[i]).setPadding(5);
}
- place(13, 2, mStatsAttackLabel, 7).setPadding(5);
- place(13, 3, mStatsDefenseLabel, 7).setPadding(5);
- place(13, 4, mStatsMagicAttackLabel, 7).setPadding(5);
- place(13, 5, mStatsMagicDefenseLabel, 7).setPadding(5);
- place(13, 6, mStatsAccuracyLabel, 7).setPadding(5);
- place(13, 7, mStatsEvadeLabel, 7).setPadding(5);
- place(13, 8, mStatsReflexLabel, 7).setPadding(5);
- place(20, 2, mStatsAttackPoints, 3).setPadding(5);
- place(20, 3, mStatsDefensePoints, 3).setPadding(5);
- place(20, 4, mStatsMagicAttackPoints, 3).setPadding(5);
- place(20, 5, mStatsMagicDefensePoints, 3).setPadding(5);
- place(20, 6, mStatsAccuracyPoints, 3).setPadding(5);
- place(20, 7, mStatsEvadePoints, 3).setPadding(5);
- place(20, 8, mStatsReflexPoints, 3).setPadding(5);
+ place(14, 2, mStatsAttackLabel, 7).setPadding(5);
+ place(14, 3, mStatsDefenseLabel, 7).setPadding(5);
+ place(14, 4, mStatsMagicAttackLabel, 7).setPadding(5);
+ place(14, 5, mStatsMagicDefenseLabel, 7).setPadding(5);
+ place(14, 6, mStatsAccuracyLabel, 7).setPadding(5);
+ place(14, 7, mStatsEvadeLabel, 7).setPadding(5);
+ place(14, 8, mStatsReflexLabel, 7).setPadding(5);
+ place(21, 2, mStatsAttackPoints, 3).setPadding(5);
+ place(21, 3, mStatsDefensePoints, 3).setPadding(5);
+ place(21, 4, mStatsMagicAttackPoints, 3).setPadding(5);
+ place(21, 5, mStatsMagicDefensePoints, 3).setPadding(5);
+ place(21, 6, mStatsAccuracyPoints, 3).setPadding(5);
+ place(21, 7, mStatsEvadePoints, 3).setPadding(5);
+ place(21, 8, mStatsReflexPoints, 3).setPadding(5);
place(0, 8, mRemainingStatsPointsLabel, 3).setPadding(5);
Layout &layout = getLayout();