summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-12-01 14:22:09 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2011-12-01 14:22:09 +0100
commit1dc78c2b5875697a926776befc33cb7161bc6eb1 (patch)
tree31466b137f670af8a848bfcd597244124765f42e /client
parente0107f150cefec8a8f90c5c7ebfd13e875c02e85 (diff)
Make sure space is added in the bottom (stretch) if the window is taller than the macros.
Diffstat (limited to 'client')
-rw-r--r--client/mainwindow.cc3
1 files changed, 3 insertions, 0 deletions
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);
}
}