diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-02 12:42:02 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-02 22:24:50 -0800 |
commit | 57b49a78334089e233f740d5f150845c1a757c73 (patch) | |
tree | a874c218f54bd0743702f4660ea31c0865b84b77 /qt-ui/maintab.cpp | |
parent | 66c2d3d9daab5d073dcc65d4a6279ea55ac6b6b0 (diff) | |
download | subsurface-57b49a78334089e233f740d5f150845c1a757c73.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 4 |
1 files changed, 1 insertions, 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<QLabel *>()) { label->setContentsMargins(margins); } |