fix icons
This commit is contained in:
parent
56b5b0a4e6
commit
dfe0726676
3 changed files with 15 additions and 13 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue