summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CourseDetailClassic.ui.qml8
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