diff options
author | Angelo Castellani <udp.castellani@gmail.com> | 2011-05-19 19:39:35 -0400 |
---|---|---|
committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2011-05-20 17:40:32 +0200 |
commit | 144c8e85b20602a1f9dd341cc29b726adfac7690 (patch) | |
tree | 54e0a6431049f14bd82c17df51a161a823b88736 | |
parent | 5dbb4826a88e255fe565fc837fe91bf305bd28d0 (diff) | |
download | mana-144c8e85b20602a1f9dd341cc29b726adfac7690.tar.gz mana-144c8e85b20602a1f9dd341cc29b726adfac7690.tar.bz2 mana-144c8e85b20602a1f9dd341cc29b726adfac7690.tar.xz mana-144c8e85b20602a1f9dd341cc29b726adfac7690.zip |
Set minimum size for Status and Skills windows
-rw-r--r-- | src/gui/skilldialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/statuswindow.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp index 19bd06d6..f01edd98 100644 --- a/src/gui/skilldialog.cpp +++ b/src/gui/skilldialog.cpp @@ -221,6 +221,8 @@ SkillDialog::SkillDialog(): setResizable(true); setSaveVisible(true); setDefaultSize(windowContainer->getWidth() - 280, 30, 275, 425); + setMinHeight(113); + setMinWidth(240); setupWindow->registerWindowForReset(this); mTabs = new TabbedArea(); 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 |