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>
This commit is contained in:
Dirk Hohndel 2015-01-02 12:42:02 -08:00
parent 66c2d3d9da
commit 57b49a7833

View file

@ -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 // QLineEdit and QLabels should have minimal margin on the left and right but not waste vertical space
QMargins margins(1, 0, 1, 0); QMargins margins(3, 2, 1, 0);
ui.location->setContentsMargins(margins);
ui.suit->setContentsMargins(margins);
Q_FOREACH (QLabel *label, findChildren<QLabel *>()) { Q_FOREACH (QLabel *label, findChildren<QLabel *>()) {
label->setContentsMargins(margins); label->setContentsMargins(margins);
} }