summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-28 14:59:38 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-28 14:59:38 +0000
commitaea08a9368265c6afd6741fa84c97491552bfb84 (patch)
tree9693e7c9bfbafd9cbb7b1ad5b1b19227c074d158 /src/gui/sell.cpp
parentc450af8c731fa8dfaa127a4cfe3ad588ede60658 (diff)
downloadMana-aea08a9368265c6afd6741fa84c97491552bfb84.tar.gz
Mana-aea08a9368265c6afd6741fa84c97491552bfb84.tar.bz2
Mana-aea08a9368265c6afd6741fa84c97491552bfb84.tar.xz
Mana-aea08a9368265c6afd6741fa84c97491552bfb84.zip
Separated auto-resizing into two categories: "set" and "add". Removed useless code.
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r--src/gui/sell.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp
index 8c442aad..08565654 100644
--- a/src/gui/sell.cpp
+++ b/src/gui/sell.cpp
@@ -91,8 +91,7 @@ SellDialog::SellDialog():
place(3, 5, mSellButton);
place(4, 5, mQuitButton);
Layout &layout = getLayout();
- layout.setRowHeight(0, Layout::FILL);
- layout.setColWidth(2, Layout::FILL);
+ layout.setRowHeight(0, Layout::AUTO_SET);
loadWindowState("Sell");
setLocationRelativeTo(getParent());