Skip to content

Commit

Permalink
Timeline: another attempt to fix #916
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Nov 16, 2024
1 parent bead28b commit 62ae4e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/qml/Timeline.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62ae4e4

Please sign in to comment.