From: Claudio Cambra Date: Wed, 10 Aug 2022 15:57:48 +0000 (+0200) Subject: Prevent the 'Cancel' button of the user status selector getting squashed X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~15^2~28^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=27f28d781e93fde6f77222f049dcdc09101823d0;p=nextcloud-desktop.git Prevent the 'Cancel' button of the user status selector getting squashed Signed-off-by: Claudio Cambra --- diff --git a/src/gui/UserStatusSelector.qml b/src/gui/UserStatusSelector.qml index 6f1fac73f..eebcee586 100644 --- a/src/gui/UserStatusSelector.qml +++ b/src/gui/UserStatusSelector.qml @@ -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")