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:
parent
9b8138a3e6
commit
ee8477ae9b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue