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