From 249b699ee7d6b80700cd648c4a7634c267b0ee68 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Fri, 6 Mar 2009 06:26:15 -0700 Subject: Fix layout of debug window --- src/gui/debugwindow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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() -- cgit v1.2.3-60-g2f50