diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml index 0abb6e4b5b9d3ed5501f0b1ecafb5f56fd577bc7..2564449f58565f8fe2d49693f67a47691e3f5496 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml @@ -6,7 +6,9 @@ GroupBox { caption: "Text"; - property bool showStyleColor: false; + property bool showStyleColor: false + property bool showIsWrapping: false + property bool showVerticalAlignment: false layout: VerticalLayout { QWidget { @@ -23,6 +25,7 @@ GroupBox { } } QWidget { + visible: showIsWrapping layout: HorizontalLayout { Label { text: "" @@ -43,7 +46,7 @@ GroupBox { text: "Alignment" } AlignmentHorizontalButtons {} - AlignmentVerticalButtons {} + AlignmentVerticalButtons { visible: showVerticalAlignment } } } diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/TextEditSpecifics.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/TextEditSpecifics.qml index 9ce932999b1fb1223b8b2b596c551fcf0029dd37..9bcfae1acc37216146bdfe5a1d9dd6fb70729d8e 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/TextEditSpecifics.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/TextEditSpecifics.qml @@ -12,9 +12,7 @@ QWidget { spacing: 0 StandardTextGroupBox { - showStyleColor: true finished: finishedNotify; - } GroupBox { diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/TextSpecifics.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/TextSpecifics.qml index b087ccfdc49e9ef0ffe81346de5189d7d534a5c8..9296e057c8c5e86437a3ef7adac4dced0358b742 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/TextSpecifics.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/TextSpecifics.qml @@ -13,6 +13,8 @@ QWidget { StandardTextGroupBox { showStyleColor: true + showIsWrapping: true + showVerticalAlignment: true finished: finishedNotify; }