From 89394fe7e4e24f30f93fe8b46edf46aa485da811 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: Mon, 21 Aug 2023 23:17:26 +0800 Subject: Move course list item OpacityMask inside rectangle so that the anchors work. --- Student/Dashboard/CourseListItem.ui.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Student') diff --git a/Student/Dashboard/CourseListItem.ui.qml b/Student/Dashboard/CourseListItem.ui.qml index d21990f..b8b1a71 100644 --- a/Student/Dashboard/CourseListItem.ui.qml +++ b/Student/Dashboard/CourseListItem.ui.qml @@ -22,11 +22,11 @@ Item { sourceSize: Qt.size(parent.width, parent.height) visible: false } - } - OpacityMask{ - anchors.fill: courseThumbnail - source: courseThumb - maskSource: courseThumbnail + OpacityMask{ + anchors.fill: courseThumbnail + source: courseThumb + maskSource: courseThumbnail + } } ColumnLayout{ id: courseProgressInfo -- cgit v1.2.3