Fix spacing of typing notifications

This commit is contained in:
Nicolas Werner 2020-04-30 22:02:41 +02:00
parent 0716bbafff
commit 2997155f56
1 changed files with 9 additions and 9 deletions

View File

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