From 89394fe7e4e24f30f93fe8b46edf46aa485da811 Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ 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.3