diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-07 15:23:34 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-12-07 20:04:18 -0700 |
commit | ca96882fe9319f687fce46c18f6edc671e4efc8a (patch) | |
tree | 7ae83e3613fdea072feac03296c39123b24826f7 /src/gui/trade.cpp | |
parent | 65e00cfe8c9ec876e3fadadac99a6cad0697283d (diff) | |
download | mana-client-ca96882fe9319f687fce46c18f6edc671e4efc8a.tar.gz mana-client-ca96882fe9319f687fce46c18f6edc671e4efc8a.tar.bz2 mana-client-ca96882fe9319f687fce46c18f6edc671e4efc8a.tar.xz mana-client-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/trade.cpp')
-rw-r--r-- | src/gui/trade.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp index 8c02ab01..843c9663 100644 --- a/src/gui/trade.cpp +++ b/src/gui/trade.cpp @@ -50,7 +50,7 @@ TradeWindow::TradeWindow(Network *network): mPartnerInventory(new Inventory(INVENTORY_SIZE)) { setWindowName("Trade"); - setDefaultSize(115, 197, 332, 209); + setDefaultSize(115, 227, 332, 209); mAddButton = new Button("Add", "add", this); mOkButton = new Button("Ok", "ok", this); |