summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2023-02-07 13:39:22 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2023-02-07 13:39:22 +0700
commit2a891559ca4d76d481452d7089d5fc8e9202bc8b (patch)
treedd011f4be8656b7a3e7287082b0506891885eae6
parent5293f405d53a5aa0f731254edc4db398cd9a2958 (diff)
add rectangle to paymentCard.height
-rw-r--r--CheckoutFlickable.ui.qml14
1 files 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