From 66ae0180be1f658692eeb518e858b62e62b246c7 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, 18 Jan 2023 11:13:17 +0800 Subject: More pixel size explicit settings --- CheckoutFlickable.ui.qml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CheckoutFlickable.ui.qml b/CheckoutFlickable.ui.qml index 9332656..9fe77ae 100644 --- a/CheckoutFlickable.ui.qml +++ b/CheckoutFlickable.ui.qml @@ -248,6 +248,9 @@ Flickable { ComboBox { model: ListModel { + ListElement { + text: "Please choose one" + } ListElement { text: "Bank of America" } @@ -282,6 +285,7 @@ Flickable { Label { text: qsTr("Order Summary") + font.pixelSize: 21 Layout.fillWidth: true } @@ -295,12 +299,14 @@ Flickable { Label { id: codeLabel text: qsTr("Transaction code") + font.pixelSize: 15 anchors.verticalCenter: parent.verticalCenter } Label { id: codeValue text: "AB12365E" + font.pixelSize: 15 anchors { right: parent.right verticalCenter: parent.verticalCenter @@ -312,11 +318,13 @@ Flickable { TextField { placeholderText: qsTr("COUPON CODE") + font.pixelSize: 15 Layout.fillWidth: true } Button { text: qsTr("Apply") + font.pixelSize: 15 } } } @@ -331,12 +339,14 @@ Flickable { Label { id: priceLabel text: qsTr("Original Price") + font.pixelSize: 15 anchors.verticalCenter: parent.verticalCenter } Label { id: priceValue text: "$500" + font.pixelSize: 15 anchors { right: parent.right verticalCenter: parent.verticalCenter @@ -352,12 +362,14 @@ Flickable { Label { id: discountLabel text: qsTr("Coupon Discount") + font.pixelSize: 15 anchors.verticalCenter: parent.verticalCenter } Label { id: discountValue text: "-" + "$20" + font.pixelSize: 15 anchors { right: parent.right verticalCenter: parent.verticalCenter @@ -373,12 +385,14 @@ Flickable { Label { id: totalLabel text: qsTr("Total") + font.pixelSize: 21 anchors.verticalCenter: parent.verticalCenter } Label { id: totalValue text: "$480" + font.pixelSize: 21 anchors { right: parent.right verticalCenter: parent.verticalCenter @@ -389,6 +403,7 @@ Flickable { Button { text: qsTr("Place Order") + font.pixelSize: 15 Layout.fillWidth: true } } -- cgit v1.2.3