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
anchors.centerIn: root
MaterialIcon {
text: "\ueafc"
text: "music_note_2"
}
StyledText {
Layout.maximumWidth: 400

View file

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

View file

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