fix(StatusBaseButton): align text to horizontal center
This commit is contained in:
parent
07a8d91ce5
commit
d707bceb14
|
@ -403,6 +403,11 @@ Column {
|
||||||
asset.emoji: "🖼️️"
|
asset.emoji: "🖼️️"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StatusButton {
|
||||||
|
width: parent.width
|
||||||
|
text: "wide"
|
||||||
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
spacing: 20
|
spacing: 20
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ Button {
|
||||||
emojiId: Emoji.iconId(root.asset.emoji, root.asset.emojiSize) || ""
|
emojiId: Emoji.iconId(root.asset.emoji, root.asset.emojiSize) || ""
|
||||||
}
|
}
|
||||||
StatusBaseText {
|
StatusBaseText {
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter
|
||||||
opacity: !loading
|
opacity: !loading
|
||||||
font: root.font
|
font: root.font
|
||||||
text: root.text
|
text: root.text
|
||||||
|
|
Loading…
Reference in New Issue