diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-04-09 11:52:48 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-04-09 11:52:48 +0800 |
commit | 7aad17f000bc8b2a4e3b87e69361864e2555f238 (patch) | |
tree | 83347103065ffc6157c705bc9e28fa9972dee9c5 /contents/ui/ActivityView.qml | |
parent | e22e00919f82582826db4d7e9fea83d0d9c633f3 (diff) |
Specify parent in ActivityView.width
Diffstat (limited to 'contents/ui/ActivityView.qml')
-rw-r--r-- | contents/ui/ActivityView.qml | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |