tray: changed settings icon in button
This commit is contained in:
parent
0a33ecf433
commit
81203ba7bc
3 changed files with 8 additions and 8 deletions
|
|
@ -111,7 +111,7 @@ Item {
|
||||||
color: Colours.palette.m3primaryContainer
|
color: Colours.palette.m3primaryContainer
|
||||||
onColor: Colours.palette.m3onPrimaryContainer
|
onColor: Colours.palette.m3onPrimaryContainer
|
||||||
text: qsTr("Open Settings")
|
text: qsTr("Open Settings")
|
||||||
icon: "chevron_right"
|
icon: "settings"
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
root.wrapper.detach("audio");
|
root.wrapper.detach("audio");
|
||||||
|
|
|
||||||
|
|
@ -171,7 +171,7 @@ ColumnLayout {
|
||||||
color: Colours.palette.m3primaryContainer
|
color: Colours.palette.m3primaryContainer
|
||||||
onColor: Colours.palette.m3onPrimaryContainer
|
onColor: Colours.palette.m3onPrimaryContainer
|
||||||
text: qsTr("Open Settings")
|
text: qsTr("Open Settings")
|
||||||
icon: "chevron_right"
|
icon: "settings"
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
root.wrapper.detach("bluetooth");
|
root.wrapper.detach("bluetooth");
|
||||||
|
|
|
||||||
|
|
@ -33,12 +33,6 @@ StyledRect {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
spacing: Appearance.spacing.small
|
spacing: Appearance.spacing.small
|
||||||
|
|
||||||
StyledText {
|
|
||||||
id: label
|
|
||||||
Layout.leftMargin: root.icon.length > 0 ? Appearance.padding.smaller : 0
|
|
||||||
color: parent.parent.onColor
|
|
||||||
}
|
|
||||||
|
|
||||||
MaterialIcon {
|
MaterialIcon {
|
||||||
id: iconItem
|
id: iconItem
|
||||||
visible: root.icon.length > 0
|
visible: root.icon.length > 0
|
||||||
|
|
@ -46,6 +40,12 @@ StyledRect {
|
||||||
color: root.onColor
|
color: root.onColor
|
||||||
font.pointSize: Appearance.font.size.large
|
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
|
signal clicked
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue