switch font
This commit is contained in:
parent
796e8bae6e
commit
d08ce4d933
@ -6,12 +6,12 @@ Text {
|
|||||||
id: root
|
id: root
|
||||||
color: Colors.onSurfaceColor
|
color: Colors.onSurfaceColor
|
||||||
property real iconSize: 16
|
property real iconSize: 16
|
||||||
property real fill: 1
|
property real fill: 0
|
||||||
property real truncatedFill: fill.toFixed(1) // Reduce memory consumption spikes from constant font remapping
|
property real truncatedFill: fill.toFixed(1) // Reduce memory consumption spikes from constant font remapping
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
font {
|
font {
|
||||||
hintingPreference: Font.PreferNoHinting
|
hintingPreference: Font.PreferNoHinting
|
||||||
family: "Material Symbols Outlined"
|
family: "Material Symbols Rounded"
|
||||||
pixelSize: iconSize
|
pixelSize: iconSize
|
||||||
weight: Font.Normal + (Font.DemiBold - Font.Normal) * truncatedFill
|
weight: Font.Normal + (Font.DemiBold - Font.Normal) * truncatedFill
|
||||||
variableAxes: {
|
variableAxes: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user