diff options
Diffstat (limited to 'tests/manual/quickcontrols/material/pages/SwitchPage.qml')
-rw-r--r-- | tests/manual/quickcontrols/material/pages/SwitchPage.qml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/manual/quickcontrols/material/pages/SwitchPage.qml b/tests/manual/quickcontrols/material/pages/SwitchPage.qml index 5335fa6290..12c553a1c5 100644 --- a/tests/manual/quickcontrols/material/pages/SwitchPage.qml +++ b/tests/manual/quickcontrols/material/pages/SwitchPage.qml @@ -1,5 +1,5 @@ // Copyright (C) 2022 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only import QtQuick import QtQuick.Controls.Material import QtQuick.Layouts @@ -17,22 +17,26 @@ Page { Switch { text: "Switch" + Layout.fillWidth: false } Switch { text: "Checked Switch" checked: true + Layout.fillWidth: false } Switch { text: "Disabled Switch" enabled: false + Layout.fillWidth: false } Switch { text: "Checked disabled Switch" checked: true enabled: false + Layout.fillWidth: false } Item { @@ -46,18 +50,21 @@ Page { Switch { text: "Switch" icon.source: Constants.iconSource + Layout.fillWidth: false } Switch { text: "Checked Switch" icon.source: Constants.iconSource checked: true + Layout.fillWidth: false } Switch { text: "Disabled Switch" icon.source: Constants.iconSource enabled: false + Layout.fillWidth: false } Switch { @@ -65,6 +72,7 @@ Page { icon.source: Constants.iconSource checked: true enabled: false + Layout.fillWidth: false } Item { |