From 57b49a78334089e233f740d5f150845c1a757c73 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 2 Jan 2015 12:42:02 -0800 Subject: [PATCH] Fine tune some spacing Now that we set the margins everywhere, the manual corrections here aren't needed. At the same time, the spacing for the labels looks better if it is a tiny bit more generous. Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 302c0b210..2b23bd5da 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -157,9 +157,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), } } // QLineEdit and QLabels should have minimal margin on the left and right but not waste vertical space - QMargins margins(1, 0, 1, 0); - ui.location->setContentsMargins(margins); - ui.suit->setContentsMargins(margins); + QMargins margins(3, 2, 1, 0); Q_FOREACH (QLabel *label, findChildren()) { label->setContentsMargins(margins); }