ClangFormat: Make clang format checks widget resizable

- Change Form to Grid that looks consistent for
different OS

Change-Id: Ibb5fc3564d8c25457c4bf520acf78b25c542b5ae
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Artem Sokolovskii
2022-12-15 12:54:18 +01:00
parent 3f554f3837
commit 2ffa843d40
3 changed files with 4 additions and 4 deletions

View File

@@ -73,7 +73,7 @@ ClangFormatConfigWidget::ClangFormatConfigWidget(TextEditor::ICodeStylePreferenc
m_checksWidget = new ClangFormatChecks();
m_checksScrollArea->setWidget(m_checksWidget);
m_checksScrollArea->setMaximumWidth(600);
m_checksScrollArea->setWidgetResizable(true);
m_checksWidget->setEnabled(!codeStyle->isReadOnly());
FilePath fileName;