diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-04-30 22:02:41 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-04-30 22:02:41 +0200 |
commit | 2997155f5645d91bee841d30202ae764909aa017 (patch) | |
tree | 02f73430ef74c0bb6992e1d17a387273a95c54cc /resources | |
parent | Strip reply fallback from plain text body (diff) | |
download | nheko-2997155f5645d91bee841d30202ae764909aa017.tar.xz |
Fix spacing of typing notifications
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/TimelineView.qml | 18 |
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 - } } |