summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
diff options
context:
space:
mode:
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);