diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-06 06:26:15 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-06 06:26:15 -0700 |
commit | 2c35b0be762e2f309514b454ab89f2f0c6db715a (patch) | |
tree | 85b8aeba64ec164026256d85e8045e6dc3844ff0 /src/gui/debugwindow.cpp | |
parent | 7cbdab589491e007adacd7597c769cdb9308a32c (diff) | |
download | mana-2c35b0be762e2f309514b454ab89f2f0c6db715a.tar.gz mana-2c35b0be762e2f309514b454ab89f2f0c6db715a.tar.bz2 mana-2c35b0be762e2f309514b454ab89f2f0c6db715a.tar.xz mana-2c35b0be762e2f309514b454ab89f2f0c6db715a.zip |
Fix layout of debug window
Diffstat (limited to 'src/gui/debugwindow.cpp')
-rw-r--r-- | src/gui/debugwindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp index 99b36fe4..33304944 100644 --- a/src/gui/debugwindow.cpp +++ b/src/gui/debugwindow.cpp @@ -41,7 +41,6 @@ DebugWindow::DebugWindow(): setResizable(true); setCloseButton(true); setDefaultSize(0, 0, 400, 60); - loadWindowState(); mFPSLabel = new gcn::Label("0 FPS"); mMusicFileLabel = new gcn::Label("Music: "); @@ -50,14 +49,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() |