mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 08:37:12 +00:00
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…
x
Reference in New Issue
Block a user