forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
}
|
||||
'''
|
||||
|
Reference in New Issue
Block a user