diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-04 23:12:28 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-04 23:12:28 +0700 |
commit | 4ddba5f193f7cbb3af811f61681c069dc822dbaf (patch) | |
tree | cbaca79301b4d097b7df6855031be4e074a5e5ed /pages | |
parent | 5e09c74b1fa25ab42a6704f33d96afd551ccccbb (diff) |
add Floating Action Button
Diffstat (limited to 'pages')
-rw-r--r-- | pages/HomeForm.ui.qml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pages/HomeForm.ui.qml b/pages/HomeForm.ui.qml index b16d95b..3cf2ad9 100644 --- a/pages/HomeForm.ui.qml +++ b/pages/HomeForm.ui.qml @@ -86,6 +86,35 @@ Rectangle { icon.color: "#99000000" } } + + RoundButton { + id: roundButton + width: 144 + spacing: 8 + height: 64 + + text: qsTr("New task") + padding: 16 + font.capitalization: Font.MixedCase + font.family: "Google Sans" + font.pointSize: 16 + font.weight: Font.Medium + + rightPadding: 24 + leftPadding: 16 + bottomPadding: 16 + topPadding: 16 + autoExclusive: false + focusPolicy: Qt.NoFocus + anchors.bottom: parent.bottom + anchors.bottomMargin: 16 + anchors.right: parent.right + anchors.rightMargin: 16 + highlighted: true + + icon.name: "add-icon" + icon.source: "/assets/add-24px.svg" + } } |