fix(StatusListItem): ensure icon background in secondary type works correctly
This commit is contained in:
parent
0d946ea4b0
commit
d389196f9e
|
@ -224,6 +224,12 @@ GridLayout {
|
|||
]
|
||||
}
|
||||
|
||||
StatusListItem {
|
||||
title: "Title"
|
||||
icon.name: "info"
|
||||
type: StatusListItem.Type.Secondary
|
||||
}
|
||||
|
||||
StatusDescriptionListItem {
|
||||
title: "Title"
|
||||
subTitle: "Subtitle"
|
||||
|
|
|
@ -37,9 +37,9 @@ Rectangle {
|
|||
background: StatusIconBackgroundSettings {
|
||||
width: 40
|
||||
height: 40
|
||||
color: type === StatusListItem.Type.Primary ?
|
||||
Theme.palette.primaryColor3 :
|
||||
"transparent"
|
||||
color: sensor.containsMouse && type === StatusListItem.Type.Secondary ?
|
||||
"transparent" :
|
||||
Theme.palette.primaryColor3
|
||||
}
|
||||
}
|
||||
property StatusImageSettings image: StatusImageSettings {
|
||||
|
|
Loading…
Reference in New Issue