From 2127dd61cda7dcb65b4edd51556158a8e79b0795 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, 12 Apr 2023 18:30:01 +0800 Subject: Just use (BS) Label now instead of Body --- Shop/Checkout/PersonalInfo.ui.qml | 24 ++++++++++++++-------- .../PersonalInfo/PaymentMethod/NetBanking.ui.qml | 13 ++++++------ Shop/Checkout/RightSidebar/OrderSummary.ui.qml | 6 ++++-- 3 files changed, 27 insertions(+), 16 deletions(-) (limited to 'Shop/Checkout') diff --git a/Shop/Checkout/PersonalInfo.ui.qml b/Shop/Checkout/PersonalInfo.ui.qml index 3bdff82..fe716e8 100644 --- a/Shop/Checkout/PersonalInfo.ui.qml +++ b/Shop/Checkout/PersonalInfo.ui.qml @@ -33,8 +33,9 @@ ColumnLayout { ColumnLayout { - Body { + Label { text: qsTr("Your name *") + wrapMode: Label.Wrap Layout.fillWidth: true } @@ -58,8 +59,9 @@ ColumnLayout { ColumnLayout { - Body { + Label { text: qsTr("Email address *") + wrapMode: Label.Wrap Layout.fillWidth: true } @@ -83,8 +85,9 @@ ColumnLayout { ColumnLayout { - Body { + Label { text: qsTr("Mobile number *") + wrapMode: Label.Wrap Layout.fillWidth: true } @@ -109,8 +112,9 @@ ColumnLayout { ColumnLayout { - Body { + Label { text: qsTr("Select country *") + wrapMode: Label.Wrap Layout.fillWidth: true } Rectangle { @@ -134,8 +138,9 @@ ColumnLayout { ColumnLayout { - Body { + Label { text: qsTr("Select state *") + wrapMode: Label.Wrap Layout.fillWidth: true } @@ -160,8 +165,9 @@ ColumnLayout { ColumnLayout { - Body { + Label { text: qsTr("Postal code *") + wrapMode: Label.Wrap Layout.fillWidth: true } @@ -186,8 +192,9 @@ ColumnLayout { ColumnLayout { - Body { + Label { text: qsTr("Address *") + wrapMode: Label.Wrap Layout.fillWidth: true } @@ -235,9 +242,10 @@ ColumnLayout { left: parent.left right: parent.right } - Body { + Label { text: qsTr("Credit or Debit Card") + wrapMode: Label.Wrap Layout.fillWidth: true padding: 16 } diff --git a/Shop/Checkout/PersonalInfo/PaymentMethod/NetBanking.ui.qml b/Shop/Checkout/PersonalInfo/PaymentMethod/NetBanking.ui.qml index 8200de1..a776ee0 100644 --- a/Shop/Checkout/PersonalInfo/PaymentMethod/NetBanking.ui.qml +++ b/Shop/Checkout/PersonalInfo/PaymentMethod/NetBanking.ui.qml @@ -2,14 +2,13 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 import Eduport 1.4 -import "../../../../Label" ColumnLayout { property alias banks: banks - Body { - text: - qsTr("Pay with Net Banking") + Label { + text: qsTr("Pay with Net Banking") + wrapMode: Label.Wrap Layout.fillWidth: true Layout.rightMargin: 16 Layout.leftMargin: 16 @@ -19,13 +18,15 @@ ColumnLayout { ColumnLayout { Layout.margins: 16 - Body { + Label { text: qsTr("In order to complete your transaction, we will transfer you over to Eduport secure servers.") + wrapMode: Label.Wrap Layout.fillWidth: true } - Body { + Label { text: qsTr("Select your bank from the drop-down list and click proceed to continue with your payment.") + wrapMode: Label.Wrap Layout.fillWidth: true } diff --git a/Shop/Checkout/RightSidebar/OrderSummary.ui.qml b/Shop/Checkout/RightSidebar/OrderSummary.ui.qml index 7564106..610a393 100644 --- a/Shop/Checkout/RightSidebar/OrderSummary.ui.qml +++ b/Shop/Checkout/RightSidebar/OrderSummary.ui.qml @@ -31,9 +31,10 @@ ColumnLayout { implicitHeight: codeLabel.implicitHeight + codeValue.implicitHeight - Body { + Label { id: codeLabel text: qsTr("Transaction code") + wrapMode: Label.Wrap anchors.verticalCenter: parent.verticalCenter } @@ -178,9 +179,10 @@ ColumnLayout { anchors.verticalCenter: parent.verticalCenter } - Body { + Label { id: discountValue text: "-$20" + wrapMode: Label.Wrap anchors { right: parent.right verticalCenter: parent.verticalCenter -- cgit v1.2.3