summaryrefslogtreecommitdiff
path: root/examples/webenginequick/customdialogs/forms/JavaScriptForm.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webenginequick/customdialogs/forms/JavaScriptForm.ui.qml')
-rw-r--r--examples/webenginequick/customdialogs/forms/JavaScriptForm.ui.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/webenginequick/customdialogs/forms/JavaScriptForm.ui.qml b/examples/webenginequick/customdialogs/forms/JavaScriptForm.ui.qml
index 1d486eaac..777f3f6e2 100644
--- a/examples/webenginequick/customdialogs/forms/JavaScriptForm.ui.qml
+++ b/examples/webenginequick/customdialogs/forms/JavaScriptForm.ui.qml
@@ -79,6 +79,7 @@ Item {
Rectangle {
id: rectangle
+ width: parent.width
height: 30
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
gradient: Gradient {
@@ -111,7 +112,7 @@ Item {
Text {
id: message
- text: item.message
+ text: root.message
font.pointSize: 12
}