From b7056db04ee2e6655849ecc3f8ec4b2d019118e9 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Thu, 29 Aug 2019 16:53:23 +0900 Subject: change width --- app/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/main.qml b/app/main.qml index f0b089f..66b0039 100644 --- a/app/main.qml +++ b/app/main.qml @@ -29,8 +29,8 @@ ApplicationWindow { Camera { id: camdev_device anchors.horizontalCenter: parent.horizontalCenter - width: height * cameracontrol.ratio - height: root.height + width: root.width + height: width / cameracontrol.ratio anchors.top: parent.top onIsrunningChanged: { camerabg.visible = !isrunning -- cgit 1.2.3-korg