summaryrefslogtreecommitdiff
path: root/src/gui/debugwindow.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-06 06:26:15 -0700
committerIra Rice <irarice@gmail.com>2009-03-06 07:28:03 -0700
commit249b699ee7d6b80700cd648c4a7634c267b0ee68 (patch)
treec8ff62c74e9acc3d217927b5a23569c0491043a0 /src/gui/debugwindow.cpp
parentaa4229cbb9f2b264ca96c3beedc66b1c79ccc1f5 (diff)
downloadmana-client-249b699ee7d6b80700cd648c4a7634c267b0ee68.tar.gz
mana-client-249b699ee7d6b80700cd648c4a7634c267b0ee68.tar.bz2
mana-client-249b699ee7d6b80700cd648c4a7634c267b0ee68.tar.xz
mana-client-249b699ee7d6b80700cd648c4a7634c267b0ee68.zip
Fix layout of debug window
Diffstat (limited to 'src/gui/debugwindow.cpp')
-rw-r--r--src/gui/debugwindow.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp
index 1e199314..1a805dd4 100644
--- a/src/gui/debugwindow.cpp
+++ b/src/gui/debugwindow.cpp
@@ -42,7 +42,6 @@ DebugWindow::DebugWindow():
setResizable(true);
setCloseButton(true);
setDefaultSize(0, 0, 400, 60);
- loadWindowState();
mFPSLabel = new gcn::Label("0 FPS");
mMusicFileLabel = new gcn::Label("Music: ");
@@ -51,14 +50,14 @@ DebugWindow::DebugWindow():
mTileMouseLabel = new gcn::Label("Mouse: 0, 0");
mParticleCountLabel = new gcn::Label("Particle count: 0");
- place(0, 0, mFPSLabel);
+ place(0, 0, mFPSLabel, 3);
place(3, 0, mTileMouseLabel);
place(0, 1, mMusicFileLabel, 3);
place(3, 1, mParticleCountLabel);
place(0, 2, mMapLabel, 4);
place(0, 3, mMiniMapLabel, 4);
- reflowLayout(375, 0);
+ loadWindowState();
}
void DebugWindow::logic()