From c616c6f1cb2b6e27e982d570dc7fa594e87da5d6 Mon Sep 17 00:00:00 2001 From: Lars Bisballe Jensen Date: Mon, 7 Nov 2011 12:35:17 +0100 Subject: Refined the layout a bit to accomodate a long list of templates. To ensure you don't need to scroll unless you have A LOT of templates on the list --- client/template.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client') diff --git a/client/template.cc b/client/template.cc index a5c4715..271f752 100644 --- a/client/template.cc +++ b/client/template.cc @@ -38,7 +38,7 @@ Template::Template(NetCom &n) QVBoxLayout *l = new QVBoxLayout(); wdg->setLayout(l); - wdg->setContentsMargins(50, 50, 50, 50); + wdg->setContentsMargins(50, 0, 0, 0); l->addStretch(); @@ -49,7 +49,6 @@ Template::Template(NetCom &n) templ->setFont(font); l->addWidget(templ); - l->addStretch(); QPushButton *btn = new QPushButton(tr("Open")); btn->setIcon(QIcon(":icons/open.png")); -- cgit v1.2.3