summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2022-03-23 17:18:49 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-03-29 12:52:21 +0000
commitfec9a3cff7c97c6b8b00846c29aafdd881eeba02 (patch)
treeb419e88d0bec7c21d397e5e8950df75728c41a55
parent21be8a37af8a26101a96c9ab49296539700b6d92 (diff)
CustomDialogs: Make dialog titles and messages visible
Change-Id: Ibb41eb1a536b49cfb40ba037a56d55b11fd6e618 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 70799256c65fe13b82d5198ebf6d79983a4b1144) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/webenginequick/customdialogs/forms/AuthenticationForm.ui.qml1
-rw-r--r--examples/webenginequick/customdialogs/forms/ColorPickerForm.ui.qml1
-rw-r--r--examples/webenginequick/customdialogs/forms/FilePickerForm.ui.qml1
-rw-r--r--examples/webenginequick/customdialogs/forms/JavaScriptForm.ui.qml3
4 files changed, 5 insertions, 1 deletions
diff --git a/examples/webenginequick/customdialogs/forms/AuthenticationForm.ui.qml b/examples/webenginequick/customdialogs/forms/AuthenticationForm.ui.qml
index ab334aae0..4a1577a05 100644
--- a/examples/webenginequick/customdialogs/forms/AuthenticationForm.ui.qml
+++ b/examples/webenginequick/customdialogs/forms/AuthenticationForm.ui.qml
@@ -78,6 +78,7 @@ Item {
Rectangle {
id: rectangle
+ width: parent.width
height: 30
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
gradient: Gradient {
diff --git a/examples/webenginequick/customdialogs/forms/ColorPickerForm.ui.qml b/examples/webenginequick/customdialogs/forms/ColorPickerForm.ui.qml
index c2de234e7..f6cd18a2a 100644
--- a/examples/webenginequick/customdialogs/forms/ColorPickerForm.ui.qml
+++ b/examples/webenginequick/customdialogs/forms/ColorPickerForm.ui.qml
@@ -77,6 +77,7 @@ Item {
}
Rectangle {
+ width: parent.width
height: 30
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
gradient: Gradient {
diff --git a/examples/webenginequick/customdialogs/forms/FilePickerForm.ui.qml b/examples/webenginequick/customdialogs/forms/FilePickerForm.ui.qml
index 8a230c982..4be09df1b 100644
--- a/examples/webenginequick/customdialogs/forms/FilePickerForm.ui.qml
+++ b/examples/webenginequick/customdialogs/forms/FilePickerForm.ui.qml
@@ -77,6 +77,7 @@ Item {
Rectangle {
id: rectangle
+ width: parent.width
height: 30
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
gradient: Gradient {
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
}