tray: changed settings icon in button

This commit is contained in:
ATMDA 2025-11-13 08:11:27 -05:00
parent 0a33ecf433
commit 81203ba7bc
3 changed files with 8 additions and 8 deletions

View file

@ -111,7 +111,7 @@ Item {
color: Colours.palette.m3primaryContainer
onColor: Colours.palette.m3onPrimaryContainer
text: qsTr("Open Settings")
icon: "chevron_right"
icon: "settings"
onClicked: {
root.wrapper.detach("audio");

View file

@ -171,7 +171,7 @@ ColumnLayout {
color: Colours.palette.m3primaryContainer
onColor: Colours.palette.m3onPrimaryContainer
text: qsTr("Open Settings")
icon: "chevron_right"
icon: "settings"
onClicked: {
root.wrapper.detach("bluetooth");

View file

@ -33,12 +33,6 @@ StyledRect {
anchors.centerIn: parent
spacing: Appearance.spacing.small
StyledText {
id: label
Layout.leftMargin: root.icon.length > 0 ? Appearance.padding.smaller : 0
color: parent.parent.onColor
}
MaterialIcon {
id: iconItem
visible: root.icon.length > 0
@ -46,6 +40,12 @@ StyledRect {
color: root.onColor
font.pointSize: Appearance.font.size.large
}
StyledText {
id: label
Layout.leftMargin: root.icon.length > 0 ? Appearance.padding.smaller : 0
color: parent.parent.onColor
}
}
signal clicked