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"
} }
CheckBox { SecondColumnLayout {
text: backendValues.%2.valueToString CheckBox {
backendValue: backendValues.%2 text: backendValues.%2.valueToString
backendValue: backendValues.%2
}
ExpandingSpacer {
}
} }

View File

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

View File

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