From 1dc78c2b5875697a926776befc33cb7161bc6eb1 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 1 Dec 2011 14:22:09 +0100 Subject: Make sure space is added in the bottom (stretch) if the window is taller than the macros. --- client/mainwindow.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client') diff --git a/client/mainwindow.cc b/client/mainwindow.cc index 121412e..4cb721f 100644 --- a/client/mainwindow.cc +++ b/client/mainwindow.cc @@ -337,6 +337,9 @@ void MainWindow::updateMacros(QDomNodeList &nodes) break; } } + + QVBoxLayout *l = (QVBoxLayout*)central->layout(); + l->addStretch(1); } } -- cgit v1.2.3