summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-04-30 22:02:41 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-04-30 22:02:41 +0200
commit2997155f5645d91bee841d30202ae764909aa017 (patch)
tree02f73430ef74c0bb6992e1d17a387273a95c54cc
parentStrip reply fallback from plain text body (diff)
downloadnheko-2997155f5645d91bee841d30202ae764909aa017.tar.xz
Fix spacing of typing notifications
-rw-r--r--resources/qml/TimelineView.qml18
1 files changed, 9 insertions, 9 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml

index c42cd6e9..7df2ed0b 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml
@@ -17,6 +17,10 @@ Page { palette: colors + FontMetrics { + id: fontMetrics + } + Settings { id: settings category: "user" @@ -116,10 +120,10 @@ Page { boundsBehavior: Flickable.StopAtBounds - ScrollHelper { - flickable: parent - anchors.fill: parent - } + ScrollHelper { + flickable: parent + anchors.fill: parent + } Shortcut { sequence: StandardKey.MoveToPreviousPage @@ -256,7 +260,7 @@ Page { Rectangle { id: chatFooter - height: Math.max(16, footerContent.height) + height: Math.max(fontMetrics.height * 1.2, footerContent.height) anchors.left: parent.left anchors.right: parent.right anchors.bottom: parent.bottom @@ -326,8 +330,4 @@ Page { } } } - - FontMetrics { - id: fontMetrics - } }