summary refs log tree commit diff
path: root/resources/qml/MessageView.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-02-20 02:53:14 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-02-20 02:53:14 +0100
commit8351cc41802c7f2de1085ae4196da5a0733d72c8 (patch)
treeb80b16f145f25e68429ac7ada150fbe26123fead /resources/qml/MessageView.qml
parentAvoid some copies when sorting the room list (diff)
downloadnheko-8351cc41802c7f2de1085ae4196da5a0733d72c8.tar.xz
Fix miscalculation of padding in timeline
Diffstat (limited to 'resources/qml/MessageView.qml')
-rw-r--r--resources/qml/MessageView.qml2
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