diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-12 18:30:01 +0800 | 
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-12 18:30:01 +0800 | 
| commit | 2127dd61cda7dcb65b4edd51556158a8e79b0795 (patch) | |
| tree | 0ccdd70c8b925b4a298bfcb1402917c986054a1b /Shop/Checkout | |
| parent | 89fcfe5ec1073fd374a8bae3d8457bebd96453c8 (diff) | |
Just use (BS) Label now instead of Body
Diffstat (limited to 'Shop/Checkout')
| -rw-r--r-- | Shop/Checkout/PersonalInfo.ui.qml | 24 | ||||
| -rw-r--r-- | Shop/Checkout/PersonalInfo/PaymentMethod/NetBanking.ui.qml | 13 | ||||
| -rw-r--r-- | Shop/Checkout/RightSidebar/OrderSummary.ui.qml | 6 | 
3 files changed, 27 insertions, 16 deletions
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  |