summary refs log tree commit diff
path: root/resources/qml/MessageView.qml
diff options
context:
space:
mode:
authorMalte E <malte.e@mailbox.org>2022-02-20 13:51:07 +0100
committerMalte E <malte.e@mailbox.org>2022-02-20 13:51:07 +0100
commit8b6d4a57e6ddea877c1cc138ddce1496cf30e1d3 (patch)
treef0c23fd8329368d268327735bb6cf7f724e60349 /resources/qml/MessageView.qml
parenttry to make scrollbar overlap content based on style (diff)
downloadnheko-8b6d4a57e6ddea877c1cc138ddce1496cf30e1d3.tar.xz
another shot in the dark
Diffstat (limited to 'resources/qml/MessageView.qml')
-rw-r--r--resources/qml/MessageView.qml4
1 files 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