From a9c32bbe27160dc1b0c14260a91716db14fdd1b1 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Fri, 6 Sep 2019 14:54:23 +0700 Subject: changed width to fill width --- pages/TaskForm.ui.qml | 66 +++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'pages') 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" + } } -- cgit v1.2.3