From 8b6d4a57e6ddea877c1cc138ddce1496cf30e1d3 Mon Sep 17 00:00:00 2001 From: Malte E Date: Sun, 20 Feb 2022 13:51:07 +0100 Subject: [PATCH] another shot in the dark --- resources/qml/MessageView.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml index 7cc9faa0..e801f2d1 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml @@ -33,7 +33,7 @@ Item { anchors.fill: parent - property int delegateMaxWidth: ((Settings.timelineMaxWidth > 100 && Settings.timelineMaxWidth < chatRoot.availableWidth) ? Settings.timelineMaxWidth : chatRoot.availableWidth) - chatRoot.padding * 2 - (scrollbar.isTransient? 0 : scrollbar.width) + property int delegateMaxWidth: ((Settings.timelineMaxWidth > 100 && Settings.timelineMaxWidth < chatRoot.availableWidth) ? Settings.timelineMaxWidth : chatRoot.availableWidth) - chatRoot.padding * 2 - (scrollbar.interactive? scrollbar.width : 0) displayMarginBeginning: height / 2 displayMarginEnd: height / 2 @@ -53,7 +53,7 @@ Item { ScrollBar.vertical: scrollbar - anchors.rightMargin: scrollbar.isTransient? 0 : scrollbar.width + anchors.rightMargin: scrollbar.interactive? scrollbar.width : 0 Rectangle { //closePolicy: Popup.NoAutoClose