Add some padding between scrollbar and messages

This commit is contained in:
Nicolas Werner 2020-11-21 01:10:28 +01:00
parent 7e0f3e1278
commit 081bd8d5f1

View file

@ -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