Skip to content

Commit

Permalink
gui/tray: Make bottom buttons in user status selector smaller
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and camilasan committed Mar 3, 2025
1 parent 2bdbeb9 commit 55d5d7f
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/gui/UserStatusSelector.qml
Original file line number Diff line number Diff line change
Expand Up @@ -268,23 +268,19 @@ ColumnLayout {
Layout.alignment: Qt.AlignBottom

Button {
// Prevent being squashed by the other buttons with larger text
Layout.minimumWidth: implicitWidth
Layout.fillHeight: true
text: qsTr("Cancel")
onClicked: finished()
}
Button {
Item { // Spacing
Layout.fillWidth: true
Layout.fillHeight: true
text: qsTr("Clear status message")
}
Button {
text: qsTr("Clear")
onClicked: userStatusSelectorModel.clearUserStatus()
}
Button {
Layout.fillWidth: true
Layout.fillHeight: true
focusPolicy: Qt.StrongFocus
text: qsTr("Set status message")
text: qsTr("Apply")
onClicked: userStatusSelectorModel.setUserStatus()
}
}
Expand Down

0 comments on commit 55d5d7f

Please sign in to comment.