forked from qt-creator/qt-creator
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:
@@ -429,18 +429,22 @@ void FakeVimOptionPage::layoutPage(QWidget *widget)
|
||||
|
||||
Group {
|
||||
Title(Tr::tr("Vim Behavior")),
|
||||
bools,
|
||||
ints,
|
||||
strings
|
||||
Column {
|
||||
bools,
|
||||
ints,
|
||||
strings
|
||||
}
|
||||
},
|
||||
|
||||
Group {
|
||||
Title(Tr::tr("Plugin Emulation")),
|
||||
s.emulateVimCommentary,
|
||||
s.emulateReplaceWithRegister,
|
||||
s.emulateArgTextObj,
|
||||
s.emulateExchange,
|
||||
s.emulateSurround
|
||||
Column {
|
||||
s.emulateVimCommentary,
|
||||
s.emulateReplaceWithRegister,
|
||||
s.emulateArgTextObj,
|
||||
s.emulateExchange,
|
||||
s.emulateSurround
|
||||
}
|
||||
},
|
||||
|
||||
Row { copyTextEditorSettings, setQtStyle, setPlainStyle, Stretch() },
|
||||
|
||||
Reference in New Issue
Block a user