Skip to content

Commit

Permalink
sync: from linuxdeepin/dtkdeclarative
Browse files Browse the repository at this point in the history
Synchronize source files from linuxdeepin/dtkdeclarative.

Source-pull-request: linuxdeepin/dtkdeclarative#394
  • Loading branch information
deepin-ci-robot committed Sep 9, 2024
1 parent 7a715ed commit 57ad86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qt6/src/qml/ComboBox.qml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ T.ComboBox {

delegate: MenuItem {
useIndicatorPadding: true
width: parent.width
width: control.width
text: control.textRole ? (Array.isArray(control.model) ? modelData[control.textRole] : model[control.textRole]) : modelData
icon.name: (control.iconNameRole && model[control.iconNameRole] !== undefined) ? model[control.iconNameRole] : null
highlighted: control.highlightedIndex === index
Expand Down

0 comments on commit 57ad86d

Please sign in to comment.