From f6521631cd86ebb12878bb25b66d4d0ea5a52cbb Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Tue, 3 Sep 2019 16:10:31 +0700 Subject: add dismissable card --- pages/HomeForm.ui.qml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'pages') diff --git a/pages/HomeForm.ui.qml b/pages/HomeForm.ui.qml index 318ef99..26c2013 100644 --- a/pages/HomeForm.ui.qml +++ b/pages/HomeForm.ui.qml @@ -4,6 +4,7 @@ import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 Rectangle { + id: rectangle property alias menuButton: menuButton @@ -48,12 +49,29 @@ Rectangle { } } } + + Pane { + id: dismissableCard + height: 72 + anchors.top: toolbar.bottom + anchors.topMargin: 16 + anchors.right: parent.right + anchors.rightMargin: 16 + anchors.left: parent.left + anchors.leftMargin: 16 + + background: Rectangle { + color: "#F0E6FC" + border.color: "#D6C3F8" + radius: 6 + } + } } /*##^## Designer { - D{i:0;autoSize:true;height:480;width:640} + D{i:0;autoSize:true;height:480;width:640}D{i:7;anchors_width:200;anchors_x:0;anchors_y:62} } ##^##*/ -- cgit v1.2.3