aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/mcusupport/wizards/qmlproject/main.qml.tpl4
-rw-r--r--src/plugins/mcusupport/wizards/qmlproject/main_big.qml.tpl4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/mcusupport/wizards/qmlproject/main.qml.tpl b/src/plugins/mcusupport/wizards/qmlproject/main.qml.tpl
index 44f4788740c..65f723b6572 100644
--- a/src/plugins/mcusupport/wizards/qmlproject/main.qml.tpl
+++ b/src/plugins/mcusupport/wizards/qmlproject/main.qml.tpl
@@ -5,11 +5,11 @@ Rectangle {
Row {
Image {
- anchors.centerIn: parent
+ anchors.verticalCenter: parent.verticalCenter
source: "assets/icon.png"
}
Text {
- anchors.centerIn: parent
+ anchors.verticalCenter: parent.verticalCenter
text: " for MCUs"
}
}
diff --git a/src/plugins/mcusupport/wizards/qmlproject/main_big.qml.tpl b/src/plugins/mcusupport/wizards/qmlproject/main_big.qml.tpl
index 60f77144499..dc2668f62d0 100644
--- a/src/plugins/mcusupport/wizards/qmlproject/main_big.qml.tpl
+++ b/src/plugins/mcusupport/wizards/qmlproject/main_big.qml.tpl
@@ -7,12 +7,12 @@ Rectangle {
Row {
visible: CustomObject.customProperty
Image {
- anchors.centerIn: parent
+ anchors.verticalCenter: parent.verticalCenter
id: icon
source: "assets/icon.png"
}
Text {
- anchors.centerIn: parent
+ anchors.verticalCenter: parent.verticalCenter
font.pixelSize: 28
id: title
text: " for MCUs"