QmlDesigner: Fix property editor template layout

Change-Id: Icc4dd3e1e0daabc98dbfd893e0511a4ac6d07b13
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2020-08-19 16:23:25 +02:00
committed by Thomas Hartmann
parent 5946ff96f8
commit 15296cecc9
3 changed files with 27 additions and 10 deletions

View File

@@ -3,7 +3,12 @@ Label {
tooltip: "%1" tooltip: "%1"
} }
SecondColumnLayout {
CheckBox { CheckBox {
text: backendValues.%2.valueToString text: backendValues.%2.valueToString
backendValue: backendValues.%2 backendValue: backendValues.%2
} }
ExpandingSpacer {
}
}

View File

@@ -2,7 +2,13 @@ Label {
text: "%1" text: "%1"
tooltip: "%1" tooltip: "%1"
} }
SecondColumnLayout {
LineEdit { LineEdit {
backendValue: backendValues.%2 backendValue: backendValues.%2
Layout.fillWidth: true Layout.fillWidth: true
} }
ExpandingSpacer {
}
}

View File

@@ -2,7 +2,13 @@ Label {
text: "%1" text: "%1"
tooltip: "%1" tooltip: "%1"
} }
SecondColumnLayout {
UrlChooser { UrlChooser {
Layout.fillWidth: true Layout.fillWidth: true
backendValue: backendValues.%2 backendValue: backendValues.%2
} }
ExpandingSpacer {
}
}