summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-12-12 00:03:00 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-12-12 00:03:00 +0100
commitad91784d86f64ee5ec813fb7df19c3e26a0ab261 (patch)
treeb8006b8b974d85af8c8b5f9217e6c2266578c69d
parentAllow clicking links in replies (diff)
downloadnheko-ad91784d86f64ee5ec813fb7df19c3e26a0ab261.tar.xz
Vertically align message input
fixes #351
-rw-r--r--resources/qml/MessageInput.qml3
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