diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-08-21 23:17:26 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-08-21 23:17:26 +0800 |
commit | 89394fe7e4e24f30f93fe8b46edf46aa485da811 (patch) | |
tree | bc32d025f11558a017c5b2bc3fa4f77ac959a927 /Student/Dashboard | |
parent | 17055280211669aba3ae8998f14ffd1ab063cf76 (diff) |
Move course list item OpacityMask inside rectangle
so that the anchors work.
Diffstat (limited to 'Student/Dashboard')
-rw-r--r-- | Student/Dashboard/CourseListItem.ui.qml | 10 |
1 files changed, 5 insertions, 5 deletions
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 |