summaryrefslogtreecommitdiff
path: root/src/gui/skill.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-07 15:23:34 +0100
committerIra Rice <irarice@gmail.com>2008-12-07 20:04:18 -0700
commitca96882fe9319f687fce46c18f6edc671e4efc8a (patch)
tree7ae83e3613fdea072feac03296c39123b24826f7 /src/gui/skill.cpp
parent65e00cfe8c9ec876e3fadadac99a6cad0697283d (diff)
downloadmana-ca96882fe9319f687fce46c18f6edc671e4efc8a.tar.gz
mana-ca96882fe9319f687fce46c18f6edc671e4efc8a.tar.bz2
mana-ca96882fe9319f687fce46c18f6edc671e4efc8a.tar.xz
mana-ca96882fe9319f687fce46c18f6edc671e4efc8a.zip
Fixed inconsistency in default window sizes
The default window sizes were all too small, since they were specified in content size. On pressing "Reset Windows", the sizes would be interpreted as such and apply alright. The inconsistency is now removed, and the default window sizes are always the size of the whole widget now, not just the contents. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/skill.cpp')
-rw-r--r--src/gui/skill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp
index 8e61dea4..321a6c52 100644
--- a/src/gui/skill.cpp
+++ b/src/gui/skill.cpp
@@ -125,7 +125,7 @@ SkillDialog::SkillDialog():
setWindowName("Skills");
setCloseButton(true);
- setDefaultSize(windowContainer->getWidth() - 255, 25, 240, 240);
+ setDefaultSize(windowContainer->getWidth() - 260, 25, 255, 260);
// mSkillListBox = new ListBox(this);
skillScrollArea = new ScrollArea(&mTable);