diff --git a/ui/StatusQ/sandbox/ListItems.qml b/ui/StatusQ/sandbox/ListItems.qml index fb35851e82..72e07fe209 100644 --- a/ui/StatusQ/sandbox/ListItems.qml +++ b/ui/StatusQ/sandbox/ListItems.qml @@ -224,6 +224,12 @@ GridLayout { ] } + StatusListItem { + title: "Title" + icon.name: "info" + type: StatusListItem.Type.Secondary + } + StatusDescriptionListItem { title: "Title" subTitle: "Subtitle" diff --git a/ui/StatusQ/src/StatusQ/Components/StatusListItem.qml b/ui/StatusQ/src/StatusQ/Components/StatusListItem.qml index 5fa4888cab..7e5e8da46e 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusListItem.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusListItem.qml @@ -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 {