diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-12-12 00:03:00 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-12-12 00:03:00 +0100 |
commit | ad91784d86f64ee5ec813fb7df19c3e26a0ab261 (patch) | |
tree | b8006b8b974d85af8c8b5f9217e6c2266578c69d | |
parent | b4ef2ce60ca88da7f95cc1985fd609d939fe16a9 (diff) |
Vertically align message input
fixes #351
-rw-r--r-- | resources/qml/MessageInput.qml | 3 |
1 files changed, 2 insertions, 1 deletions
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 |