diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-08 16:18:37 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-08 16:18:37 +0800 |
commit | b99959bc57ff628ff21c0287d20a349a3c9fcb46 (patch) | |
tree | 4440124b042b2af95506c1ef8aced6ad303bc6b4 /OrderCompletedFlickable.ui.qml | |
parent | 403f90e0bed0de16fae098d740e69ad18be79c58 (diff) |
Alias to the whole text instead
Diffstat (limited to 'OrderCompletedFlickable.ui.qml')
-rw-r--r-- | OrderCompletedFlickable.ui.qml | 9 |
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 |