summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.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/equipmentwindow.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/equipmentwindow.cpp')
-rw-r--r--src/gui/equipmentwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index 7e1ef315..f1cbb0da 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -40,7 +40,7 @@ EquipmentWindow::EquipmentWindow(Equipment *equipment):
{
setWindowName("Equipment");
setCloseButton(true);
- setDefaultSize(5, 230, 200, 120);
+ setDefaultSize(5, 230, 200, 140);
loadWindowState();
mInventory = player_node->getInventory();
}