Skip to content

Commit be9ec38

Browse files
committed
fix: adjust Action's padding for notification
Add padding. pms: BUG-296959
1 parent 8048e27 commit be9ec38

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

panels/notification/plugin/NotifyAction.qml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,17 @@ Control {
4141
Loader {
4242
active: actions.length > 2
4343
visible: active
44-
Layout.maximumWidth: 120
44+
Layout.maximumWidth: 200
4545
Layout.alignment: Qt.AlignHCenter
4646
sourceComponent: ComboBox {
4747
property var expandActions: actions.slice(1)
4848
textRole: "text"
49-
padding: 0
5049
implicitHeight: 30
51-
implicitWidth: 60
50+
implicitWidth: 160
5251
model: expandActions
5352
delegate: NotifyActionButton {
5453
required property int index
55-
54+
width: parent.width
5655
actionData: expandActions[index]
5756
}
5857
}
@@ -67,7 +66,7 @@ Control {
6766
bottomPadding: undefined
6867
leftPadding: undefined
6968
rightPadding: undefined
70-
padding: 0
69+
padding: 6
7170
spacing: 0
7271
font: DTK.fontManager.t6
7372
onClicked: {

0 commit comments

Comments
 (0)