summaryrefslogtreecommitdiff
path: root/src/gui/windows/mailwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/mailwindow.cpp')
-rw-r--r--src/gui/windows/mailwindow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/windows/mailwindow.cpp b/src/gui/windows/mailwindow.cpp
index 9da69fb0a..963b981be 100644
--- a/src/gui/windows/mailwindow.cpp
+++ b/src/gui/windows/mailwindow.cpp
@@ -98,15 +98,15 @@ MailWindow::MailWindow() :
mListScrollArea->setHorizontalScrollPolicy(ScrollArea::SHOW_NEVER);
- ContainerPlacer placer;
+ ContainerPlacer placer(nullptr, nullptr);
placer = getPlacer(0, 0);
placer(0, 0, mListScrollArea, 4, 5).setPadding(3);
- placer(4, 0, mRefreshButton);
- placer(4, 1, mOpenButton);
- placer(4, 2, mNewButton);
- placer(4, 3, mDeleteButton);
- placer(4, 4, mReturnButton);
+ placer(4, 0, mRefreshButton, 1, 1);
+ placer(4, 1, mOpenButton, 1, 1);
+ placer(4, 2, mNewButton, 1, 1);
+ placer(4, 3, mDeleteButton, 1, 1);
+ placer(4, 4, mReturnButton, 1, 1);
Layout &layout = getLayout();
layout.setRowHeight(0, LayoutType::SET);