diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-02-20 02:53:14 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-02-20 02:53:14 +0100 |
commit | 8351cc41802c7f2de1085ae4196da5a0733d72c8 (patch) | |
tree | b80b16f145f25e68429ac7ada150fbe26123fead /resources/qml/MessageView.qml | |
parent | Avoid some copies when sorting the room list (diff) | |
download | nheko-8351cc41802c7f2de1085ae4196da5a0733d72c8.tar.xz |
Fix miscalculation of padding in timeline
Diffstat (limited to 'resources/qml/MessageView.qml')
-rw-r--r-- | resources/qml/MessageView.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml index e1641a36..eefde046 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml @@ -15,7 +15,7 @@ ScrollView { ListView { id: chat - property int delegateMaxWidth: ((Settings.timelineMaxWidth > 100 && Settings.timelineMaxWidth < parent.availableWidth) ? Settings.timelineMaxWidth : parent.availableWidth) - parent.padding + property int delegateMaxWidth: ((Settings.timelineMaxWidth > 100 && Settings.timelineMaxWidth < parent.availableWidth) ? Settings.timelineMaxWidth : parent.availableWidth) - parent.padding * 2 model: TimelineManager.timeline boundsBehavior: Flickable.StopAtBounds |