diff options
author | Malte E <malte.e@mailbox.org> | 2022-02-20 13:51:07 +0100 |
---|---|---|
committer | Malte E <malte.e@mailbox.org> | 2022-02-20 13:51:07 +0100 |
commit | 8b6d4a57e6ddea877c1cc138ddce1496cf30e1d3 (patch) | |
tree | f0c23fd8329368d268327735bb6cf7f724e60349 /resources/qml/MessageView.qml | |
parent | try to make scrollbar overlap content based on style (diff) | |
download | nheko-8b6d4a57e6ddea877c1cc138ddce1496cf30e1d3.tar.xz |
another shot in the dark
Diffstat (limited to 'resources/qml/MessageView.qml')
-rw-r--r-- | resources/qml/MessageView.qml | 4 |
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 |