mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-26 05:26:00 +00:00
fix(StatusBaseButton): align text to horizontal center
This commit is contained in:
parent
07a8d91ce5
commit
d707bceb14
@ -403,6 +403,11 @@ Column {
|
||||
asset.emoji: "🖼️️"
|
||||
}
|
||||
|
||||
StatusButton {
|
||||
width: parent.width
|
||||
text: "wide"
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
spacing: 20
|
||||
|
||||
|
@ -96,7 +96,7 @@ Button {
|
||||
emojiId: Emoji.iconId(root.asset.emoji, root.asset.emojiSize) || ""
|
||||
}
|
||||
StatusBaseText {
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||
opacity: !loading
|
||||
font: root.font
|
||||
text: root.text
|
||||
|
Loading…
x
Reference in New Issue
Block a user