diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-03 16:10:31 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-03 16:10:31 +0700 |
commit | f6521631cd86ebb12878bb25b66d4d0ea5a52cbb (patch) | |
tree | 476224180c59f8a51a7f1ee0a213b9e50268c6e4 /pages/HomeForm.ui.qml | |
parent | e2ea66cdd3f3d413066e3b7c83b50dfc7fa1e488 (diff) |
add dismissable card
Diffstat (limited to 'pages/HomeForm.ui.qml')
-rw-r--r-- | pages/HomeForm.ui.qml | 20 |
1 files changed, 19 insertions, 1 deletions
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} } ##^##*/ |