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

@@ -8,7 +8,7 @@ import os
import CppHeaderParser
def parse_arguments():
parser = argparse.ArgumentParser(description='Clazy checks header file \
parser = argparse.ArgumentParser(description='Clang-Format checks header file \
generator')
parser.add_argument('--clang-format-header-file', help='path to \
Format.h usually /usr/lib/llvm-x/include/clang/Format/Format.h',
@@ -80,7 +80,7 @@ ClangFormatChecks::ClangFormatChecks(QWidget *parent)
''' + source_code + '''
using namespace Layouting;
Form {
Grid {
''' + layout_code + ''' }.attachTo(this);
}
'''