From 081bd8d5f1fc9532a1283c92a687735c7fc9c840 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 21 Nov 2020 01:10:28 +0100 Subject: [PATCH] Add some padding between scrollbar and messages --- resources/qml/MessageView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml index af0c0aca..bc0acfa4 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml @@ -9,7 +9,7 @@ import im.nheko 1.0 ListView { id: chat - property int delegateMaxWidth: (Settings.timelineMaxWidth > 100 && (parent.width - Settings.timelineMaxWidth) > scrollbar.width * 2) ? Settings.timelineMaxWidth : (parent.width - scrollbar.width * 2) + property int delegateMaxWidth: (Settings.timelineMaxWidth > 100 && (parent.width - Settings.timelineMaxWidth) > scrollbar.width * 2) ? Settings.timelineMaxWidth : (parent.width - scrollbar.width * 2 - 8) Layout.fillWidth: true Layout.fillHeight: true