aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/testbench/main.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/manual/testbench/main.qml b/tests/manual/testbench/main.qml
index bbeb795b..2fdc52af 100644
--- a/tests/manual/testbench/main.qml
+++ b/tests/manual/testbench/main.qml
@@ -48,11 +48,14 @@ import QtQuick.Controls.Universal 2.0
ApplicationWindow {
id: window
visible: true
- x: Screen.width / 2 - width / 2
- y: Screen.height / 2 - height / 2
width: 750
height: 1000
+ Component.onCompleted: {
+ x = Screen.width / 2 - width / 2
+ y = Screen.height / 2 - height / 2
+ }
+
Material.theme: themeSwitch.checked ? Material.Dark : Material.Light
Universal.theme: themeSwitch.checked ? Universal.Dark : Universal.Light