diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-20 12:50:26 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-20 12:50:26 +0000 |
commit | 90e5ce7e958418f0d39d38112d33d3190a78baea (patch) | |
tree | 012150b22e971e44d0f7e795ef48384e15392940 /src/gui/item_amount.cpp | |
parent | 9ca202ae89bbe60f2cd1c8e3249a4fe3f8972a2b (diff) | |
download | mana-90e5ce7e958418f0d39d38112d33d3190a78baea.tar.gz mana-90e5ce7e958418f0d39d38112d33d3190a78baea.tar.bz2 mana-90e5ce7e958418f0d39d38112d33d3190a78baea.tar.xz mana-90e5ce7e958418f0d39d38112d33d3190a78baea.zip |
TMW now uses latest Guichan CVS, and doesn't work with Guichan 0.2.0 anymore!
Also fixed a crash on clicking wallpaper in login phase.
Diffstat (limited to 'src/gui/item_amount.cpp')
-rw-r--r-- | src/gui/item_amount.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp index e627659e..a63d5a8e 100644 --- a/src/gui/item_amount.cpp +++ b/src/gui/item_amount.cpp @@ -52,7 +52,7 @@ ItemAmountWindow::ItemAmountWindow(): itemAmountOkButton->setPosition(10, 40); itemAmountCancelButton->setPosition(60, 40); - // Assemble + // Assemble add(itemAmountLabel); add(itemAmountPlusButton); add(itemAmountMinusButton); @@ -66,7 +66,7 @@ ItemAmountWindow::ItemAmountWindow(): resetAmount(); - setSize(200, 80); + setContentSize(200, 80); setLocationRelativeTo(getParent()); } |