fix(StatusChatInput): 'Unblock' is not vertically aligned in 1-1 chat

`StatusButton` is now used correctly. There are 3 different button variations with preset heights/widths and paddings. The consumer cannot change the height without altering the expected behaviour and display of the button.

Button height is now consistent with chat input.

Fixes #6298
This commit is contained in:
Noelia 2022-07-15 11:43:40 +02:00 committed by Noelia
parent 9b8138a3e6
commit ee8477ae9b
1 changed files with 1 additions and 3 deletions

View File

@ -1254,11 +1254,9 @@ Rectangle {
StatusQ.StatusButton {
id: unblockBtn
visible: control.isContactBlocked
height: messageInput.height - Style.current.halfPadding
anchors.right: parent.right
anchors.rightMargin: Style.current.halfPadding
anchors.bottom: parent.bottom
anchors.bottomMargin: Style.current.padding
anchors.bottom: messageInput.bottom
text: qsTr("Unblock")
type: StatusQ.StatusBaseButton.Type.Danger
onClicked: function (event) {