fix(StatusBaseButton): align text to horizontal center
This commit is contained in:
parent
fa3ba834e2
commit
9135b90ada
|
@ -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