From e0824ea46338271113a67c0db22d081889f985b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Wed, 8 Feb 2023 19:09:18 +0800 Subject: Jost & fix text wrap --- OrderCompletedFlickable.ui.qml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'OrderCompletedFlickable.ui.qml') 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 } } -- cgit v1.2.3