Commit 1944c4f6 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: relayout of standard text properties

parent a0bbb16a
...@@ -19,26 +19,27 @@ GroupBox { ...@@ -19,26 +19,27 @@ GroupBox {
LineEdit { LineEdit {
backendValue: backendValues.text backendValue: backendValues.text
} }
}
}
QWidget {
layout: HorizontalLayout {
Label {
text: ""
}
CheckBox { CheckBox {
fixedWidth: 70
baseStateFlag: isBaseState; baseStateFlag: isBaseState;
text: "Wraps"; text: "Is Wrapping";
checkable: true; checkable: true;
backendValue: backendValues.wrap; backendValue: backendValues.wrap;
} }
} }
} }
QWidget { QWidget {
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: "Alignment" text: "Alignment"
} }
ComboBox { ComboBox {
items : { ["AlignLeft", "AlignRight", "AlignHCenter"] } items : { ["AlignLeft", "AlignRight", "AlignHCenter"] }
currentText: backendValues.horizontalAlignment.value; currentText: backendValues.horizontalAlignment.value;
...@@ -52,7 +53,6 @@ GroupBox { ...@@ -52,7 +53,6 @@ GroupBox {
} }
} }
ComboBox { ComboBox {
items : { ["AlignTop", "AlignBottom", "AlignVCenter"] } items : { ["AlignTop", "AlignBottom", "AlignVCenter"] }
currentText: backendValues.verticalAlignment.value; currentText: backendValues.verticalAlignment.value;
...@@ -64,7 +64,6 @@ GroupBox { ...@@ -64,7 +64,6 @@ GroupBox {
if (count == 3) if (count == 3)
backendValues.verticalAlignment.value = currentText; backendValues.verticalAlignment.value = currentText;
} }
} }
} }
} }
......
Supports Markdown
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