From bead28bcab7e5f2d488af838bf38cf540b53550d Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 11 Nov 2024 20:32:12 +0100 Subject: [PATCH] Timeline: Don't mess with room header padding Recalculation of padding depending on whether the scroll bar is there can easily break the already fragile layout logic, bringing minimal benefits in return (it was made to avoid the text ending up under transient scrollbars that are overlapping with the client area - but transient scrollbars disappear after scrolling anyway). Hopefully fixes #916. --- client/qml/Timeline.qml | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/qml/Timeline.qml b/client/qml/Timeline.qml index bb7dd7c1..a52f463f 100644 --- a/client/qml/Timeline.qml +++ b/client/qml/Timeline.qml @@ -153,8 +153,6 @@ Page { id: topicText padding: 2 leftPadding: headerText.innerLeftPadding - rightPadding: topicField.ScrollBar.vertical.visible - ? topicField.ScrollBar.vertical.width : padding text: room ? room.prettyPrint(room.topic) : "" placeholderText: qsTr("(no topic)")