aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/quickcontrols/testbench/controls/SwitchDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/quickcontrols/testbench/controls/SwitchDelegate.qml')
-rw-r--r--tests/manual/quickcontrols/testbench/controls/SwitchDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/quickcontrols/testbench/controls/SwitchDelegate.qml b/tests/manual/quickcontrols/testbench/controls/SwitchDelegate.qml
index 6fe3ecefce..686b38f9ad 100644
--- a/tests/manual/quickcontrols/testbench/controls/SwitchDelegate.qml
+++ b/tests/manual/quickcontrols/testbench/controls/SwitchDelegate.qml
@@ -31,7 +31,7 @@ QtObject {
clip: true
model: 20
delegate: SwitchDelegate {
- width: parent.width
+ width: ListView.view.width
text: "SwitchDelegate"
focusPolicy: Qt.StrongFocus
}