aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2022-06-08 14:08:50 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2022-06-08 13:10:06 +0000
commit9bd51f3d557b8e52e42a9b6536da5c8c09853006 (patch)
treec731e291fca131842d83aaca552c54f3d438ee1e
parent04b3962daf7f46e6ce053c79635eaabe6bb75f4c (diff)
QmlDesigner: Make text label visible in 3d wizard
Task-number: QDS-7054 Change-Id: I44a2d01c799b619b553c6b1e76c003324e7b80ba Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/studio_templates/projects/application-3d/Screen01.ui.qml.tpl13
1 files changed, 7 insertions, 6 deletions
diff --git a/share/qtcreator/qmldesigner/studio_templates/projects/application-3d/Screen01.ui.qml.tpl b/share/qtcreator/qmldesigner/studio_templates/projects/application-3d/Screen01.ui.qml.tpl
index 338621b72e..24566ef2cc 100644
--- a/share/qtcreator/qmldesigner/studio_templates/projects/application-3d/Screen01.ui.qml.tpl
+++ b/share/qtcreator/qmldesigner/studio_templates/projects/application-3d/Screen01.ui.qml.tpl
@@ -16,12 +16,6 @@ Rectangle {
color: Constants.backgroundColor
- Text {
- text: qsTr("Hello %{ProjectName}")
- anchors.centerIn: parent
- font.family: Constants.font.family
- }
-
View3D {
id: view3D
anchors.fill: parent
@@ -62,5 +56,12 @@ Rectangle {
objectName: "Default Material"
diffuseColor: "#4aee45"
}
+
+ Text {
+ text: qsTr("Hello %{ProjectName}")
+ anchors.top: parent.top
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.topMargin: 100
+ font.family: Constants.font.family
}
}