fix icons

This commit is contained in:
lucy 2026-07-16 12:51:04 +02:00
commit dfe0726676
3 changed files with 15 additions and 13 deletions

View file

@ -26,7 +26,7 @@ Rectangle {
id: songLayout id: songLayout
anchors.centerIn: root anchors.centerIn: root
MaterialIcon { MaterialIcon {
text: "\ueafc" text: "music_note_2"
} }
StyledText { StyledText {
Layout.maximumWidth: 400 Layout.maximumWidth: 400

View file

@ -43,7 +43,7 @@ WrapperRectangle {
RowLayout { RowLayout {
Layout.alignment: Qt.AlignTop Layout.alignment: Qt.AlignTop
MaterialIcon { MaterialIcon {
text: "\uea35" text: "\ue7f7"
font.pixelSize: 12 font.pixelSize: 12
} }
StyledText { StyledText {

View file

@ -1,15 +1,17 @@
import qs
import qs.settings import qs.settings
import qs.widgets import QtQuick
StyledText {
property real fill
property int grade: 25
Text {
font.family: "Material Symbols Rounded" font.family: "Material Symbols Rounded"
font.variableAxes: ({ color: Colors.base07
FILL: fill.toFixed(1), font.pixelSize: Config.iconSize
GRAD: grade, property bool fill: true
opsz: 24, renderType: Text.NativeRendering
wght: 600 font.variableAxes: {
}) "FILL": fill ? 1 : 0,
"opsz": 48,
"wght": 400,
"GRAD": 24
}
} }