mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-04 22:49:50 -05:00
34 lines
594 B
QML
34 lines
594 B
QML
import QtQuick
|
|
import ".."
|
|
|
|
Text {
|
|
id: textIcon
|
|
|
|
property real fill: 0
|
|
|
|
renderType: Text.NativeRendering
|
|
textFormat: Text.PlainText
|
|
horizontalAlignment: Text.AlignHCenter
|
|
verticalAlignment: Text.AlignVCenter
|
|
|
|
font {
|
|
family: "Material Symbols Outlined"
|
|
pointSize: Math.max(parent.height * 0.50, 11)
|
|
|
|
variableAxes: {
|
|
"FILL": fill
|
|
}
|
|
}
|
|
|
|
Behavior on fill {
|
|
NumberAnimation {
|
|
duration: 200
|
|
}
|
|
}
|
|
|
|
Behavior on color {
|
|
ColorAnimation {
|
|
duration: 200
|
|
}
|
|
}
|
|
}
|