diff options
Diffstat (limited to 'tests/manual/quickcontrols/material/material.qml')
-rw-r--r-- | tests/manual/quickcontrols/material/material.qml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/manual/quickcontrols/material/material.qml b/tests/manual/quickcontrols/material/material.qml index 78efaf72e3..5aae5211db 100644 --- a/tests/manual/quickcontrols/material/material.qml +++ b/tests/manual/quickcontrols/material/material.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 QtCore import QtQuick import QtQuick.Controls.Material @@ -53,6 +53,7 @@ ApplicationWindow { ToolButton { action: openDrawerAction + Layout.fillWidth: false } Label { @@ -73,11 +74,13 @@ ApplicationWindow { id: darkThemeSwitch text: "Dark" checked: settings.theme === Material.Dark + Layout.fillWidth: false } Switch { id: denseSwitch text: "Dense" + Layout.fillWidth: false checked: settings.variant === "Dense" ToolTip.text: "Requires restart" @@ -97,7 +100,7 @@ ApplicationWindow { focus: true currentIndex: settings.currentControlIndex anchors.fill: parent - model: ["Button", "DelayButton", "RoundButton", "Switch"] + model: ["Button", "DelayButton", "RoundButton", "Switch", "TextArea", "TextField"] delegate: ItemDelegate { width: listView.width text: modelData |