summaryrefslogtreecommitdiff
path: root/src/gui/statuswindow.cpp
diff options
context:
space:
mode:
authorAngelo Castellani <udp.castellani@gmail.com>2011-05-19 19:39:35 -0400
committerStefan Dombrowski <stefan@uni-bonn.de>2011-05-20 17:40:32 +0200
commit144c8e85b20602a1f9dd341cc29b726adfac7690 (patch)
tree54e0a6431049f14bd82c17df51a161a823b88736 /src/gui/statuswindow.cpp
parent5dbb4826a88e255fe565fc837fe91bf305bd28d0 (diff)
downloadmana-144c8e85b20602a1f9dd341cc29b726adfac7690.tar.gz
mana-144c8e85b20602a1f9dd341cc29b726adfac7690.tar.bz2
mana-144c8e85b20602a1f9dd341cc29b726adfac7690.tar.xz
mana-144c8e85b20602a1f9dd341cc29b726adfac7690.zip
Set minimum size for Status and Skills windows
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r--src/gui/statuswindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index 28ed6c68..822dec3e 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -104,7 +104,9 @@ StatusWindow::StatusWindow():
setCloseButton(true);
setSaveVisible(true);
setDefaultSize((windowContainer->getWidth() - 365) / 2,
- (windowContainer->getHeight() - 255) / 2, 365, 275);
+ (windowContainer->getHeight() - 255) / 2, 480, 275);
+ setMinWidth(480);
+ setMinHeight(131);
// ----------------------
// Status Part