summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-07-26 18:15:35 +0800
committerFrederick Yin <fkfd@fkfd.me>2023-07-26 18:15:35 +0800
commitb2555cb09aa6f1b92cb41746ab546303ed6da38d (patch)
treeb0eb2c3d586bf7b195183cc4d5b614c60ccc0b19
parent668732f0188d9f98ac63bae368d4ecbff4cf571c (diff)
Set clearance for scrollbar
-rw-r--r--contents/ui/ActivityView.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/contents/ui/ActivityView.qml b/contents/ui/ActivityView.qml
index 38b92f1..2f11db9 100644
--- a/contents/ui/ActivityView.qml
+++ b/contents/ui/ActivityView.qml
@@ -17,7 +17,10 @@ PlasmaComponents.ListItem {
property bool expanded: false
ColumnLayout {
- width: (type == "announcement" ? announcementsListView : assignmentsListView).width
+ width:
+ (type == "announcement"
+ ? announcementsListView : assignmentsListView).width
+ - PlasmaCore.Units.gridUnit // clearance for scrollbar
Layout.fillWidth: true
RowLayout {
RowLayout {