From eec73c9b2b1c962d02ab77f69beda3cd02028803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Tue, 14 Feb 2023 21:57:28 +0800 Subject: Simplify detail image size --- CourseDetailClassic.ui.qml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/CourseDetailClassic.ui.qml b/CourseDetailClassic.ui.qml index 70908e5..f448672 100644 --- a/CourseDetailClassic.ui.qml +++ b/CourseDetailClassic.ui.qml @@ -54,12 +54,8 @@ Flickable { Image { id: image source: "https://eduport.webestica.com/assets/images/courses/4by3/01.jpg" - sourceSize { - width: parent.width - 16 - height: parent.width * 3 / 4 - } - width: sourceSize.width - height: sourceSize.height + width: parent.width - 16 + height: parent.width * 3 / 4 anchors { top: parent.top topMargin: 8 -- cgit v1.2.3