summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2023-02-01 16:17:04 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2023-02-01 16:17:04 +0700
commitb02aa5201505ee3f340a7d6e0af7c12c2d809e89 (patch)
tree911e2e25cedefb2218b24e183f646c2951bf116b
parent8e2bc14877dcf59d6980c081f33a8a0880322419 (diff)
add Rectangle as card background
-rw-r--r--OrderSummary.ui.qml9
1 files 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 {
}
}
}
+ }
}