Utils: Make Layouting::Group { .. } less weird

It had a implicit vertical layout leading to unneded layout nesting
in quite a few cases. The price is an added Column { ... } in those
places where the implicit vertical layout was sufficient before.

Change-Id: I3ae1f03f9c1d691bd0c563b0447edd03ee02bbd2
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2022-07-21 11:10:34 +02:00
parent dcb9cd9062
commit b8a6d72137
19 changed files with 147 additions and 109 deletions

View File

@@ -170,14 +170,18 @@ GitSettingsPage::GitSettingsPage(GitSettings *settings)
Column {
Group {
Title(GitSettings::tr("Configuration")),
Row { s.path },
s.winSetHomeEnvironment,
Column {
Row { s.path },
s.winSetHomeEnvironment,
}
},
Group {
Title(GitSettings::tr("Miscellaneous")),
Row { s.logCount, s.timeout, Stretch() },
s.pullRebase
Column {
Row { s.logCount, s.timeout, Stretch() },
s.pullRebase
}
},
Group {