Prevent the 'Cancel' button of the user status selector getting squashed

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
This commit is contained in:
Claudio Cambra 2022-08-10 17:57:48 +02:00
parent 5b4ea2fd54
commit 27f28d781e

View file

@ -323,19 +323,23 @@ ColumnLayout {
Layout.alignment: Qt.AlignBottom
UserStatusSelectorButton {
Layout.fillWidth: true
// Prevent being squashed by the other buttons with larger text
Layout.minimumWidth: implicitWidth
Layout.fillHeight: true
primary: true
text: qsTr("Cancel")
onClicked: finished()
}
UserStatusSelectorButton {
Layout.fillWidth: true
Layout.fillHeight: true
primary: true
text: qsTr("Clear status message")
onClicked: userStatusSelectorModel.clearUserStatus()
}
UserStatusSelectorButton {
Layout.fillWidth: true
Layout.fillHeight: true
primary: true
colored: true
text: qsTr("Set status message")