summaryrefslogtreecommitdiff
path: root/pages/TaskForm.ui.qml
blob: 6010b57ddd214ec4f448665c468c5da28d475518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12

RowLayout {
    property alias task: task
    property alias checkBox: checkBox

    id: task
    width: fillWidth
    height: 54
    anchors.topMargin: 8
    anchors.right: parent.right
    anchors.rightMargin: 0
    anchors.left: parent.left
    anchors.leftMargin: 0
    spacing: 8

    CheckBox {
        id: checkBox
        text: qsTr("This is a task title")
        padding: 8
        rightPadding: 16
        leftPadding: 16
        bottomPadding: 16
        topPadding: 16
        Layout.fillHeight: true
        Layout.fillWidth: true
        font.family: "Google Sans"
        font.pointSize: 16
        font.weight: Font.Medium
        spacing: 24
    }
    RoundButton {
        id: chevronRight
        flat: true
        icon.name: "chevron-right-icon"
        icon.source: "/assets/chevron-right-24px.svg"
        icon.color: "#99000000"
    }
}