From 0178d9b1b72885e42f88ee279098015d0f4be780 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, 28 Aug 2023 17:11:34 +0800 Subject: Child width follows parent's on course list item --- Student/Dashboard/CourseListItem.ui.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Student') 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 -- cgit v1.2.3