diff options
author | Lars Bisballe Jensen <larsbisballe@gmail.com> | 2011-11-07 12:35:17 +0100 |
---|---|---|
committer | Lars Bisballe Jensen <larsbisballe@gmail.com> | 2011-11-07 12:35:17 +0100 |
commit | c616c6f1cb2b6e27e982d570dc7fa594e87da5d6 (patch) | |
tree | f3c38a43cc5a29e9c7bfa81eb6b8758f65311b13 | |
parent | db2851d0d8ad618e36eca9a61b02bdb999dca7b2 (diff) |
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
-rw-r--r-- | client/template.cc | 3 |
1 files changed, 1 insertions, 2 deletions
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")); |