From ad91784d86f64ee5ec813fb7df19c3e26a0ab261 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 12 Dec 2021 00:03:00 +0100 Subject: [PATCH] Vertically align message input fixes #351 --- resources/qml/MessageInput.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/qml/MessageInput.qml b/resources/qml/MessageInput.qml index b27b59c9..0d38d026 100644 --- a/resources/qml/MessageInput.qml +++ b/resources/qml/MessageInput.qml @@ -85,7 +85,7 @@ Rectangle { ScrollView { id: textInput - Layout.alignment: Qt.AlignBottom // | Qt.AlignHCenter + Layout.alignment: Qt.AlignVCenter Layout.maximumHeight: Window.height / 4 Layout.minimumHeight: Settings.fontSize implicitWidth: inputBar.width - 5 * (22 + 16) - 24 @@ -120,6 +120,7 @@ Rectangle { placeholderTextColor: Nheko.colors.buttonText color: Nheko.colors.text width: textInput.width + verticalAlignment: TextEdit.AlignVCenter wrapMode: TextEdit.Wrap padding: 8 focus: true