Commit d9d37a22 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: fixes TextInput and TextEdit

parent 121eda16
......@@ -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 }
}
}
......
......@@ -12,9 +12,7 @@ QWidget {
spacing: 0
StandardTextGroupBox {
showStyleColor: true
finished: finishedNotify;
}
GroupBox {
......
......@@ -13,6 +13,8 @@ QWidget {
StandardTextGroupBox {
showStyleColor: true
showIsWrapping: true
showVerticalAlignment: true
finished: finishedNotify;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment