diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-22 18:21:58 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-22 18:21:58 +0700 |
commit | 634c5ed555b4257222942749c4803e10b41054c9 (patch) | |
tree | d7784c148408f9198ef2726883f0c4164d4d1e8c /forms/TaskListForm.ui.qml | |
parent | 33db07fbf055148633414d3d0af3783a91d2c630 (diff) |
FAB now. moved to `TaskListForm`
Diffstat (limited to 'forms/TaskListForm.ui.qml')
-rw-r--r-- | forms/TaskListForm.ui.qml | 56 |
1 files changed, 37 insertions, 19 deletions
diff --git a/forms/TaskListForm.ui.qml b/forms/TaskListForm.ui.qml index ebe976a..0016bb8 100644 --- a/forms/TaskListForm.ui.qml +++ b/forms/TaskListForm.ui.qml @@ -1,28 +1,46 @@ import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 +import QtQuick.Layouts 1.12 Page { - id: page - property alias listView: listView + id: page + property alias listView: listView - ListView { - id: listView - width: 362 - height: parent.height - anchors.topMargin: 8 - anchors.right: parent.right - anchors.rightMargin: 0 - anchors.left: parent.left - anchors.leftMargin: 0 - spacing: 12 + ListView { + id: listView + width: parent.width + height: parent.height + anchors.topMargin: 8 + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + anchors.leftMargin: 0 + spacing: 12 - Rectangle { - id: rectangle - anchors.fill: parent - z: -1 - } + Rectangle { + id: rectangle + anchors.fill: parent + z: -1 + } - ScrollBar.vertical: ScrollBar {} - } + ScrollBar.vertical: ScrollBar {} + } + RoundButton { + anchors.bottom: parent.bottom + anchors.bottomMargin: 8 + anchors.right: parent.right + anchors.rightMargin: 8 + highlighted: true + icon.source: "../assets/add-24px.svg" + height: 64 + width: 64 + } } + +/*##^## +Designer { + D{i:0;autoSize:true;height:480;width:640} +} +##^##*/ + |