forked from qt-creator/qt-creator
Layouting: Handle attach types via setter
Change-Id: I862f5cd109db3582b4f029787ec0cded2da39ce6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -49,19 +49,20 @@ ClangFormatGlobalConfigWidget::ClangFormatGlobalConfigWidget(
|
||||
Group globalSettingsGroupBox {
|
||||
bindTo(&globalSettingsGroupBoxWidget),
|
||||
title(Tr::tr("ClangFormat settings:")),
|
||||
Column {
|
||||
m_useGlobalSettings,
|
||||
Row { m_formattingModeLabel, m_indentingOrFormatting, st },
|
||||
m_formatWhileTyping,
|
||||
m_formatOnSave,
|
||||
m_projectHasClangFormat,
|
||||
m_overrideDefault
|
||||
Column {
|
||||
m_useGlobalSettings,
|
||||
Row { m_formattingModeLabel, m_indentingOrFormatting, st },
|
||||
m_formatWhileTyping,
|
||||
m_formatOnSave,
|
||||
m_projectHasClangFormat,
|
||||
m_overrideDefault
|
||||
}
|
||||
};
|
||||
|
||||
Column {
|
||||
globalSettingsGroupBox
|
||||
}.attachTo(this, Layouting::WithoutMargins);
|
||||
globalSettingsGroupBox,
|
||||
noMargin
|
||||
}.attachTo(this);
|
||||
|
||||
initCheckBoxes();
|
||||
initIndentationOrFormattingCombobox();
|
||||
|
||||
Reference in New Issue
Block a user