switch to different material font for filled icons
This commit is contained in:
parent
84b853d338
commit
ea2294a748
@ -44,7 +44,7 @@ Rectangle {
|
|||||||
Row {
|
Row {
|
||||||
id: textRow
|
id: textRow
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
spacing: 0
|
spacing: 5
|
||||||
CustomText {
|
CustomText {
|
||||||
id: volumeText
|
id: volumeText
|
||||||
PwObjectTracker {
|
PwObjectTracker {
|
||||||
|
|||||||
@ -3,13 +3,14 @@ import qs.settings
|
|||||||
import qs
|
import qs
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
property real fill: 1
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
font.family: "Material Symbols Rounded"
|
font.family: "Material Icons Round"
|
||||||
color: Colors.foreground
|
color: Colors.foreground
|
||||||
font.pixelSize: Settings.config.fontSize + 1
|
|
||||||
font.variableAxes: ({
|
font.variableAxes: ({
|
||||||
FILL: 0,
|
FILL: fill.toFixed(1),
|
||||||
GRAD: 100,
|
GRAD: -25,
|
||||||
wght: 400
|
opsz: Settings.config.fontSize,
|
||||||
|
wght: Settings.config.fontWeight
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,6 +34,7 @@ Singleton {
|
|||||||
property int paddingSides: 10
|
property int paddingSides: 10
|
||||||
property var generateScheme: true
|
property var generateScheme: true
|
||||||
property bool wallSwitcherShown: false
|
property bool wallSwitcherShown: false
|
||||||
|
property int fontWeight: 500
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user