From 9f27e446a6c41729f837c3ea22c4266651430f99 Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Sat, 9 Sep 2023 19:53:24 +0200 Subject: [PATCH] Keep topicText away from the scroll bar when it's visible --- client/qml/Timeline.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/qml/Timeline.qml b/client/qml/Timeline.qml index 73f41b6f..094e8f86 100644 --- a/client/qml/Timeline.qml +++ b/client/qml/Timeline.qml @@ -150,6 +150,8 @@ Page { id: topicText width: topicField.width padding: 0 + rightPadding: topicField.ScrollBar.vertical.visible + ? topicField.ScrollBar.vertical.width : 0 text: room ? room.prettyPrint(room.topic) : "" placeholderText: qsTr("(no topic)")