summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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()