diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-28 14:59:38 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-28 14:59:38 +0000 |
commit | aea08a9368265c6afd6741fa84c97491552bfb84 (patch) | |
tree | 9693e7c9bfbafd9cbb7b1ad5b1b19227c074d158 /src/gui/sell.cpp | |
parent | c450af8c731fa8dfaa127a4cfe3ad588ede60658 (diff) | |
download | mana-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.cpp | 3 |
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()); |