fix(StatusComboBox): Pointing hand cursor on hover (#862)
This commit is contained in:
parent
9f6f9905e9
commit
72750ef60c
|
@ -76,6 +76,13 @@ Item {
|
|||
: comboBox.hovered
|
||||
? Theme.palette.primaryColor2
|
||||
: "transparent"
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
acceptedButtons: Qt.NoButton
|
||||
enabled: root.enabled
|
||||
}
|
||||
}
|
||||
|
||||
contentItem: StatusBaseText {
|
||||
|
|
|
@ -15,11 +15,10 @@ ItemDelegate {
|
|||
icon.width: 16
|
||||
icon.height: 16
|
||||
|
||||
contentItem: RowLayout {
|
||||
contentItem: RowLayout {
|
||||
spacing: root.spacing
|
||||
|
||||
StatusIcon {
|
||||
id: iconItem
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
visible: !!icon
|
||||
icon: root.icon.name
|
||||
|
@ -43,7 +42,14 @@ ItemDelegate {
|
|||
|
||||
background: Rectangle {
|
||||
color: root.highlighted
|
||||
? Theme.palette.statusPopupMenu.hoverBackgroundColor
|
||||
: "transparent"
|
||||
? Theme.palette.statusPopupMenu.hoverBackgroundColor
|
||||
: "transparent"
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
acceptedButtons: Qt.NoButton
|
||||
enabled: root.enabled
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue