diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-14 21:53:44 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-14 21:53:44 +0100 |
commit | 34a02000cacc2c553d11e19c09d9d11b9c46eafd (patch) | |
tree | 985e0acf5b7590584f325d85c65b59e3af88e0e7 /src/gui/itemshortcutwindow.cpp | |
parent | 99a0da13fc0df8e95c3aecab160fbde707ee1b23 (diff) | |
download | mana-34a02000cacc2c553d11e19c09d9d11b9c46eafd.tar.gz mana-34a02000cacc2c553d11e19c09d9d11b9c46eafd.tar.bz2 mana-34a02000cacc2c553d11e19c09d9d11b9c46eafd.tar.xz mana-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/itemshortcutwindow.cpp')
-rw-r--r-- | src/gui/itemshortcutwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemshortcutwindow.cpp b/src/gui/itemshortcutwindow.cpp index e4d352fe..1a71b11e 100644 --- a/src/gui/itemshortcutwindow.cpp +++ b/src/gui/itemshortcutwindow.cpp @@ -34,7 +34,7 @@ ItemShortcutWindow::ItemShortcutWindow() setResizable(true); setDefaultSize(758, 174, 42, 426); - mItems = new ItemShortcutContainer(); + mItems = new ItemShortcutContainer; const int border = SCROLL_PADDING * 2 + getPadding() * 2; setMinWidth(mItems->getBoxWidth() + border); |