From 62ae4e4ea3803c8f672078662a3b5e36eb4432a4 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 16 Nov 2024 13:56:58 +0100 Subject: [PATCH] Timeline: another attempt to fix #916 --- client/qml/Timeline.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/qml/Timeline.qml b/client/qml/Timeline.qml index a52f463f..11a41e8d 100644 --- a/client/qml/Timeline.qml +++ b/client/qml/Timeline.qml @@ -132,10 +132,10 @@ Page { // timeline vertical space; if there are more than 6 lines // reveal the top of the 7th line as a hint height: Math.min( - topicText.contentHeight, + topicText.contentHeight + topicText.topPadding + topicText.bottomPadding, root.height / 5, - settings.lineSpacing * 6.6) - + topicText.topPadding + topicText.bottomPadding + settings.lineSpacing * 4.6) + + topicText.topMargin + topicText.bottomMargin clip: true ScrollBar.horizontal.policy: ScrollBar.AlwaysOff