diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-14 21:57:28 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-02-14 21:57:28 +0800 |
commit | eec73c9b2b1c962d02ab77f69beda3cd02028803 (patch) | |
tree | 23fb4ac21d229475dbad0323349504f71f48cd37 | |
parent | 48098af9d517c755e4e315b20963cf34fcb92bbe (diff) |
Simplify detail image size
-rw-r--r-- | CourseDetailClassic.ui.qml | 8 |
1 files 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 |