summaryrefslogtreecommitdiff
path: root/Student/Dashboard
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-08-28 17:11:34 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-08-28 17:11:34 +0800
commit0178d9b1b72885e42f88ee279098015d0f4be780 (patch)
tree89f73b9c93284c954bfcd20140c6957c5b9c2989 /Student/Dashboard
parent0732c9f3ebfd3d328eea056160dc1f5072ee5da3 (diff)
Child width follows parent's on course list item
Diffstat (limited to 'Student/Dashboard')
-rw-r--r--Student/Dashboard/CourseListItem.ui.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Student/Dashboard/CourseListItem.ui.qml b/Student/Dashboard/CourseListItem.ui.qml
index 7939168..3a4d407 100644
--- a/Student/Dashboard/CourseListItem.ui.qml
+++ b/Student/Dashboard/CourseListItem.ui.qml
@@ -10,11 +10,13 @@ Item {
property alias courseProgressBar: courseProgressBar
property alias courseListActionButton: courseListActionButton
- width:courseData.width
height: courseData.height
+
RowLayout {
id: courseData
spacing: 16
+ width: parent.width
+
Rectangle {
id: courseThumbnail
radius: 8