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:
parent
66c2d3d9da
commit
57b49a7833
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user