mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
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
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue