1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-19 06:55:24 +02:00

MessageBar: Fixed issue where sending a message would break the layout.

Change-Id: Iacdea26427e48b00f9edd9aacf57f88860717e0c
This commit is contained in:
lcoursodon 2023-08-17 11:26:31 -04:00 committed by Liam Coursodon
parent ffcd3e59a4
commit 3a693536e4

View file

@ -51,7 +51,7 @@ RowLayout {
signal showMapClicked
signal emojiButtonClicked
height: showTypo || multiLine ? textAreaObj.height + 25 + 3 * marginSize + 1 : textAreaObj.height + marginSize + 1
height: showTypo || multiLine ? messageBarTextArea.height + 25 + 3 * marginSize + 1 : textAreaObj.height + marginSize + 1
Rectangle {
Layout.preferredHeight: parent.height
@ -180,7 +180,6 @@ RowLayout {
onSendMessagesRequired: {
sendMessageButtonClicked();
messageBarTextArea.heightBinding();
}
onTextChanged: MessagesAdapter.userIsComposing(text ? true : false)