Fix spacing of typing notifications

This commit is contained in:
Nicolas Werner 2020-04-30 22:02:41 +02:00
parent 0716bbafff
commit 2997155f56

View file

@ -17,6 +17,10 @@ Page {
palette: colors palette: colors
FontMetrics {
id: fontMetrics
}
Settings { Settings {
id: settings id: settings
category: "user" category: "user"
@ -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
}
} }