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…
Reference in New Issue