From 7aad17f000bc8b2a4e3b87e69361864e2555f238 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sat, 9 Apr 2022 11:52:48 +0800 Subject: Specify parent in ActivityView.width --- contents/ui/ActivityView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contents/ui/ActivityView.qml') diff --git a/contents/ui/ActivityView.qml b/contents/ui/ActivityView.qml index f35f89d..a439d0d 100644 --- a/contents/ui/ActivityView.qml +++ b/contents/ui/ActivityView.qml @@ -10,7 +10,7 @@ import org.kde.plasma.extras 2.0 as PlasmaExtras RowLayout { id: activityView - width: parent.width + width: (type == "announcement" ? announcementsListView : assignmentsListView).width Layout.fillWidth: true function sameDay(due, now) { -- cgit v1.2.3