summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-14 21:53:44 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-12-14 21:53:44 +0100
commit34a02000cacc2c553d11e19c09d9d11b9c46eafd (patch)
tree985e0acf5b7590584f325d85c65b59e3af88e0e7 /src/gui/inventorywindow.cpp
parent99a0da13fc0df8e95c3aecab160fbde707ee1b23 (diff)
downloadmana-client-34a02000cacc2c553d11e19c09d9d11b9c46eafd.tar.gz
mana-client-34a02000cacc2c553d11e19c09d9d11b9c46eafd.tar.bz2
mana-client-34a02000cacc2c553d11e19c09d9d11b9c46eafd.tar.xz
mana-client-34a02000cacc2c553d11e19c09d9d11b9c46eafd.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> (cherry picked from eAthena branch, commit 72f5288682f46af1f7c04c002172178c880e060b) Conflicts: src/gui/chat.cpp src/gui/equipmentwindow.cpp src/gui/inventorywindow.cpp src/gui/ministatus.cpp src/gui/setup.cpp src/gui/skill.cpp src/gui/trade.cpp src/gui/window.cpp
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 0fda7945..92b635d8 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -60,7 +60,7 @@ InventoryWindow::InventoryWindow():
setMinWidth(375);
setMinHeight(283);
// If you adjust these defaults, don't forget to adjust the trade window's.
- setDefaultSize(115, 25, 375, 283);
+ setDefaultSize(115, 30, 375, 283);
addKeyListener(this);
mUseButton = new Button(_("Use"), "use", this);