diff options
Diffstat (limited to 'examples/quickcontrols/ios/todolist/ProjectPage.qml')
-rw-r--r-- | examples/quickcontrols/ios/todolist/ProjectPage.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/quickcontrols/ios/todolist/ProjectPage.qml b/examples/quickcontrols/ios/todolist/ProjectPage.qml index a38ad04554..8319206fe9 100644 --- a/examples/quickcontrols/ios/todolist/ProjectPage.qml +++ b/examples/quickcontrols/ios/todolist/ProjectPage.qml @@ -1,5 +1,5 @@ // Copyright (C) 2022 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause import QtQuick import QtQuick.Controls @@ -53,6 +53,7 @@ Page { value: root.completedTasks to: root.totalTasks Layout.leftMargin: 20 + Layout.fillWidth: false } } @@ -159,7 +160,7 @@ Page { anchors.leftMargin: 10 anchors.verticalCenter: parent.verticalCenter icon.source: "images/close.png" - icon.color: Qt.styleHints.appearance === Qt.Dark ? "white" : "black" + icon.color: Qt.styleHints.colorScheme === Qt.Dark ? "white" : "black" onClicked: { Database.deleteTask(taskList.taskId) |