From b334c945ad47fe1eae7e284b118a00657cacf6db Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Tue, 7 Feb 2023 14:24:44 +0700 Subject: place order button --- CheckoutFlickable.ui.qml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/CheckoutFlickable.ui.qml b/CheckoutFlickable.ui.qml index aa93565..80e55ba 100644 --- a/CheckoutFlickable.ui.qml +++ b/CheckoutFlickable.ui.qml @@ -604,9 +604,25 @@ Flickable { Button { id: placeOrder - text: qsTr("Place Order") - font.pointSize: 15 + Layout.margins: 16 Layout.fillWidth: true + text: qsTr("Place Order") + font.pointSize: 14 + font.family: "roboto" + implicitHeight: 36 + contentItem: Text { + color: "#ffffff" + text: "Place order" + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + font.weight: Font.Medium + font.family: "Roboto" + font.pointSize: 14 + } + background: Rectangle { + color: "#0cbc87" + radius: 8 + } } } } -- cgit v1.2.3