diff --git a/sandbox/controls/Buttons.qml b/sandbox/controls/Buttons.qml index e88b56f4..239713a9 100644 --- a/sandbox/controls/Buttons.qml +++ b/sandbox/controls/Buttons.qml @@ -403,6 +403,11 @@ Column { asset.emoji: "🖼️️" } + StatusButton { + width: parent.width + text: "wide" + } + RowLayout { spacing: 20 diff --git a/src/StatusQ/Controls/StatusBaseButton.qml b/src/StatusQ/Controls/StatusBaseButton.qml index 07123b58..a8e73070 100644 --- a/src/StatusQ/Controls/StatusBaseButton.qml +++ b/src/StatusQ/Controls/StatusBaseButton.qml @@ -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