summaryrefslogtreecommitdiff
path: root/Shop/Checkout.ui.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-23 10:38:54 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-23 10:38:54 +0800
commitd18f2df2d631606a30922148b019b5cef1764f6d (patch)
treebb6e21efd26ccf860dfb149824e069d852961ec0 /Shop/Checkout.ui.qml
parent9a8c9b16fddd96ec2705f64d7023aedcde71d6e5 (diff)
Each header has its own QML
Diffstat (limited to 'Shop/Checkout.ui.qml')
-rw-r--r--Shop/Checkout.ui.qml22
1 files changed, 7 insertions, 15 deletions
diff --git a/Shop/Checkout.ui.qml b/Shop/Checkout.ui.qml
index 97125c5..7b57110 100644
--- a/Shop/Checkout.ui.qml
+++ b/Shop/Checkout.ui.qml
@@ -76,11 +76,8 @@ Flickable {
right: parent.right
}
- Lbl.Hx {
+ Lbl.H5 {
text: qsTr("Personal Details")
- font.pointSize: 20.1
- + .00075
- * parent.width
Layout.fillWidth: true
Layout.rightMargin: 16
Layout.leftMargin: 16
@@ -273,9 +270,8 @@ Flickable {
ColumnLayout {
- Lbl.Hx {
+ Lbl.H5 {
text: qsTr("Payment method")
- font.pointSize: 20.1 + .00075 * parent.width
Layout.fillWidth: true
Layout.margins: 16
}
@@ -406,11 +402,9 @@ Flickable {
left: parent.left
right: parent.right
}
- Lbl.Hx {
+
+ Lbl.H4 {
text: qsTr("Order Summary")
- font.pointSize: 20.625
- + .0046875
- * parent.width
Layout.fillWidth: true
Layout.rightMargin: 16
Layout.leftMargin: 16
@@ -541,7 +535,7 @@ Flickable {
anchors.verticalCenter: parent.verticalCenter
}
- Lbl.Hx {
+ Lbl.H6 {
id: priceValue
text: "$500"
anchors {
@@ -582,17 +576,15 @@ Flickable {
implicitHeight: totalLabel.implicitHeight
+ totalValue.implicitHeight
- Lbl.Hx {
+ Lbl.H5 {
id: totalLabel
text: qsTr("Total")
- font.pointSize: 20.1 + .00075 * parent.width
anchors.verticalCenter: parent.verticalCenter
}
- Lbl.Hx {
+ Lbl.H5 {
id: totalValue
text: "$480"
- font.pointSize: 20.1 + .00075 * parent.width
anchors {
right: parent.right
verticalCenter: parent.verticalCenter