mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
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:
parent
5b4ea2fd54
commit
27f28d781e
1 changed files with 5 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue