From 2a891559ca4d76d481452d7089d5fc8e9202bc8b Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Tue, 7 Feb 2023 13:39:22 +0700 Subject: add rectangle to paymentCard.height --- CheckoutFlickable.ui.qml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/CheckoutFlickable.ui.qml b/CheckoutFlickable.ui.qml index 8c93280..9b59394 100644 --- a/CheckoutFlickable.ui.qml +++ b/CheckoutFlickable.ui.qml @@ -322,12 +322,20 @@ Flickable { ColumnLayout { - Frame { + Rectangle { + implicitHeight: paymentCard.height + Layout.margins:16 Layout.fillWidth: true + border.width: 1 + radius: 8 + border.color: "#4d000000" ColumnLayout { - anchors.fill: parent - + id: paymentCard + anchors { + left: parent.left + right: parent.right + } Label { text: qsTr("Credit or Debit Card") font.pointSize: 16 -- cgit v1.2.3