summaryrefslogtreecommitdiff
path: root/OrderCompletedFlickable.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-08 19:09:18 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-08 19:09:18 +0800
commite0824ea46338271113a67c0db22d081889f985b3 (patch)
tree055dd4527cbd052d2ad988cd52f853368a716889 /OrderCompletedFlickable.ui.qml
parentb99959bc57ff628ff21c0287d20a349a3c9fcb46 (diff)
Jost & fix text wrap
Diffstat (limited to 'OrderCompletedFlickable.ui.qml')
-rw-r--r--OrderCompletedFlickable.ui.qml14
1 files changed, 12 insertions, 2 deletions
diff --git a/OrderCompletedFlickable.ui.qml b/OrderCompletedFlickable.ui.qml
index 22f2f17..ebf6bc2 100644
--- a/OrderCompletedFlickable.ui.qml
+++ b/OrderCompletedFlickable.ui.qml
@@ -7,6 +7,12 @@ Flickable {
property alias orderCompletedButton: button
contentHeight: body.height
+ FontLoader {
+ id: jost
+ name: "Jost"
+ source: "Jost/Jost-Regular.ttf"
+ }
+
ColumnLayout {
id: body
anchors {
@@ -24,7 +30,10 @@ Flickable {
Label {
text: qsTr("Your Order is Completed!")
font.pixelSize: 30
- Layout.alignment: Qt.AlignHCenter
+ font.family: jost.name
+ wrapMode: Text.Wrap
+ horizontalAlignment: Text.AlignHCenter
+ Layout.fillWidth: true
Layout.bottomMargin: 20
}
@@ -34,10 +43,10 @@ Flickable {
+ "completed. Your order details are "
+ "shown for your personal account.")
font.pixelSize: 16
+ font.family: jost.name
wrapMode: Text.Wrap
horizontalAlignment: Text.AlignHCenter
Layout.fillWidth: true
- Layout.alignment: Qt.AlignHCenter
Layout.bottomMargin: 32
}
@@ -45,6 +54,7 @@ Flickable {
id: button
text: qsTr("View My Orders")
font.pixelSize: 16
+ font.family: jost.name
Layout.alignment: Qt.AlignHCenter
}
}