Skip to content
Snippets Groups Projects
Verified Commit ad91784d authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Vertically align message input

fixes #351
parent b4ef2ce6
No related branches found
No related tags found
No related merge requests found
Pipeline #2253 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment