Ensure that clear status message combo box is at least implicit width
authorClaudio Cambra <claudio.cambra@gmail.com>
Wed, 10 Aug 2022 17:57:18 +0000 (19:57 +0200)
committerClaudio Cambra <claudio.cambra@gmail.com>
Wed, 17 Aug 2022 18:34:17 +0000 (20:34 +0200)
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
src/gui/UserStatusSelector.qml

index 482505769c4a93d07758b9a9700c379e70e6b693..6f1fac73ff09101de12fa7e6feb5aecba1b34e40 100644 (file)
@@ -280,16 +280,27 @@ ColumnLayout {
 
             RowLayout {
                 Layout.fillWidth: true
-                spacing: Style.standardSpacing
+                spacing: Style.smallSpacing
 
                 Label {
+                    id: clearComboLabel
+
+                    Layout.fillWidth: true
+                    Layout.fillHeight: true
+                    verticalAlignment: Text.AlignVCenter
+
                     text: qsTr("Clear status message after")
                     color: Style.ncTextColor
+                    wrapMode: Text.Wrap
                 }
 
                 BasicComboBox {
                     id: clearComboBox
+
                     Layout.fillWidth: true
+                    Layout.fillHeight: true
+                    Layout.minimumWidth: implicitWidth
+
                     model: userStatusSelectorModel.clearStageTypes
                     textRole: "display"
                     valueRole: "clearStageType"