From b02aa5201505ee3f340a7d6e0af7c12c2d809e89 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Wed, 1 Feb 2023 16:17:04 +0700 Subject: add Rectangle as card background --- OrderSummary.ui.qml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/OrderSummary.ui.qml b/OrderSummary.ui.qml index 2fcfe7a..aeadad7 100644 --- a/OrderSummary.ui.qml +++ b/OrderSummary.ui.qml @@ -3,12 +3,16 @@ import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 ColumnLayout { - + Rectangle { + Layout.fillWidth: true + Layout.fillHeight: true + radius: 16 ColumnLayout { - Layout.alignment: Qt.AlignTop + anchors.fill: parent ColumnLayout { spacing: 24 Layout.fillWidth: true + Layout.margins: 24 Label { id: oderSummaryTitle text: qsTr("Order Summary") @@ -85,4 +89,5 @@ ColumnLayout { } } } + } } -- cgit v1.2.3