Skip to content

Commit

Permalink
fix: combobox highlight missing
Browse files Browse the repository at this point in the history
ArrowListView highlight was remove
partially revert af1277c
  • Loading branch information
kegechen committed Nov 25, 2024
1 parent eb837c2 commit 833c321
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions qt6/src/qml/ArrowListView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,20 @@ FocusScope {
}
interactive: Window.window ? (contentHeight > Window.window.height || model.count > maxVisibleItems) : false
ScrollIndicator.vertical: ScrollIndicator { }
highlight: Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 6
anchors.rightMargin: 6
anchors.topMargin: 6
anchors.bottomMargin: 6
property D.Palette backgroundColor: DS.Style.highlightPanel.background
color: D.ColorSelector.backgroundColor
radius: 6 // TODO can't display background when using dtk's InWindowBlur.
}
highlightFollowsCurrentItem: true
highlightMoveDuration: -1
highlightMoveVelocity: 400
}

P.ArrowListViewButton {
Expand Down

0 comments on commit 833c321

Please sign in to comment.