summaryrefslogtreecommitdiff
path: root/OrderCompletedFlickable.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-08 16:18:37 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-08 16:18:37 +0800
commitb99959bc57ff628ff21c0287d20a349a3c9fcb46 (patch)
tree4440124b042b2af95506c1ef8aced6ad303bc6b4 /OrderCompletedFlickable.ui.qml
parent403f90e0bed0de16fae098d740e69ad18be79c58 (diff)
Alias to the whole text instead
Diffstat (limited to 'OrderCompletedFlickable.ui.qml')
-rw-r--r--OrderCompletedFlickable.ui.qml9
1 files changed, 5 insertions, 4 deletions
diff --git a/OrderCompletedFlickable.ui.qml b/OrderCompletedFlickable.ui.qml
index 1b96e7d..22f2f17 100644
--- a/OrderCompletedFlickable.ui.qml
+++ b/OrderCompletedFlickable.ui.qml
@@ -3,7 +3,7 @@ import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
Flickable {
- property string orderCompletedText: "673290789"
+ property alias orderCompletedText: text
property alias orderCompletedButton: button
contentHeight: body.height
@@ -29,9 +29,10 @@ Flickable {
}
Label {
- text: qsTr("Your order ") + orderCompletedText
- + qsTr(" has been completed. Your order details"
- + " are shown for your personal account.")
+ id: text
+ text: qsTr("Your order 673290789 has been "
+ + "completed. Your order details are "
+ + "shown for your personal account.")
font.pixelSize: 16
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter