summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-25 06:12:48 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-25 06:12:48 +0300
commitf55baadfeb6245899497cd472f65f23e905481b9 (patch)
treed5d3dfa758d9d46cf91bc81e0190ee67c7bc48e7 /src/gui/windows/tradewindow.cpp
parent52039744fa2e5e116548e5236cd8ba5f5d81702a (diff)
downloadmv-f55baadfeb6245899497cd472f65f23e905481b9.tar.gz
mv-f55baadfeb6245899497cd472f65f23e905481b9.tar.bz2
mv-f55baadfeb6245899497cd472f65f23e905481b9.tar.xz
mv-f55baadfeb6245899497cd472f65f23e905481b9.zip
Remove default parameters from containerplacer.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r--src/gui/windows/tradewindow.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index d11023fdb..3f16b0b4b 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -136,16 +136,16 @@ TradeWindow::TradeWindow() :
mMoneyField->setWidth(40);
- place(1, 0, mMoneyLabel);
- place(0, 1, myScroll).setPadding(3);
- place(1, 1, partnerScroll).setPadding(3);
+ place(1, 0, mMoneyLabel, 1, 1);
+ place(0, 1, myScroll, 1, 1).setPadding(3);
+ place(1, 1, partnerScroll, 1, 1).setPadding(3);
ContainerPlacer placer = getPlacer(0, 0);
- placer(0, 0, moneyLabel2);
- placer(1, 0, mMoneyField, 2);
- placer(3, 0, mMoneyChangeButton).setHAlign(LayoutCell::LEFT);
+ placer(0, 0, moneyLabel2, 1, 1);
+ placer(1, 0, mMoneyField, 2, 1);
+ placer(3, 0, mMoneyChangeButton, 1, 1).setHAlign(LayoutCell::LEFT);
placer = getPlacer(0, 2);
- placer(0, 0, mAddButton);
- placer(1, 0, mOkButton);
+ placer(0, 0, mAddButton, 1, 1);
+ placer(1, 0, mOkButton, 1, 1);
Layout &layout = getLayout();
layout.extend(0, 2, 2, 1);
layout.setRowHeight(1, LayoutType::SET);