diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-06 14:54:23 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-06 14:54:23 +0700 |
commit | a9c32bbe27160dc1b0c14260a91716db14fdd1b1 (patch) | |
tree | eba1458763f8974ad86639c505cd4a97dcfda46a | |
parent | 2d4f9432be44cc997265ed1c5ad24124ffc54036 (diff) |
changed width to fill width
-rw-r--r-- | pages/TaskForm.ui.qml | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/pages/TaskForm.ui.qml b/pages/TaskForm.ui.qml index 13522a7..a0f4a98 100644 --- a/pages/TaskForm.ui.qml +++ b/pages/TaskForm.ui.qml @@ -3,39 +3,39 @@ import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 RowLayout { - property alias task: task - property alias checkBox: checkBox + property alias task: task + property alias checkBox: checkBox - id: task - width: parent.width - height: 72 - anchors.topMargin: 8 - anchors.right: parent.right - anchors.rightMargin: 0 - anchors.left: parent.left - anchors.leftMargin: 0 - spacing: 8 + id: task + width: fillWidth + height: 72 + anchors.topMargin: 8 + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + anchors.leftMargin: 0 + spacing: 8 - CheckBox { - id: checkBox - height: 54 - text: qsTr("This is a task title") - padding: 8 - rightPadding: 16 - leftPadding: 16 - bottomPadding: 16 - topPadding: 16 - 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" - } + CheckBox { + id: checkBox + height: 54 + text: qsTr("This is a task title") + padding: 8 + rightPadding: 16 + leftPadding: 16 + bottomPadding: 16 + topPadding: 16 + 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" + } } |