forked from qt-creator/qt-creator
Utils: Use a full layout row for an aspect for Columns and Forms
Avoids some boilerplate on the user code side.
This seems to be the only existing case. If there'd ever be a case where
this is not appropriate, an extra Row { ... } would solve it.
Change-Id: I1ae1102e895640c0acc03b4949e3baabecfcdc49
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -112,20 +112,19 @@ CvsSettingsPageWidget::CvsSettingsPageWidget(const std::function<void()> &onAppl
|
||||
{
|
||||
CvsSettings &s = *settings;
|
||||
using namespace Layouting;
|
||||
const Break nl;
|
||||
|
||||
Column {
|
||||
Group {
|
||||
Title(tr("Configuration")),
|
||||
Form {
|
||||
s.binaryPath, nl,
|
||||
s.binaryPath,
|
||||
s.cvsRoot
|
||||
}
|
||||
},
|
||||
Group {
|
||||
Title(tr("Miscellaneous")),
|
||||
Form {
|
||||
s.timeout, nl,
|
||||
s.timeout,
|
||||
s.diffOptions,
|
||||
},
|
||||
s.promptOnSubmit,
|
||||
|
||||
Reference in New Issue
Block a user