put icons to fixed size
This commit is contained in:
parent
0d490310b8
commit
5e7af6969b
@ -70,7 +70,8 @@ Loader {
|
|||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: batRow
|
id: batRow
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.centerIn: parent
|
||||||
|
height: parent.height
|
||||||
spacing: 5
|
spacing: 5
|
||||||
CustomText {
|
CustomText {
|
||||||
id: batText
|
id: batText
|
||||||
|
|||||||
@ -8,7 +8,7 @@ Rectangle {
|
|||||||
id: root
|
id: root
|
||||||
radius: implicitHeight / 2
|
radius: implicitHeight / 2
|
||||||
color: pavuArea.containsMouse ? Colors.primaryContainer : Colors.surfaceContainer
|
color: pavuArea.containsMouse ? Colors.primaryContainer : Colors.surfaceContainer
|
||||||
implicitWidth: volumeIcon.implicitWidth + 10
|
implicitWidth: Settings.config.barHeight - 8
|
||||||
implicitHeight: Settings.config.barHeight - 10
|
implicitHeight: Settings.config.barHeight - 10
|
||||||
CustomIcon {
|
CustomIcon {
|
||||||
id: volumeIcon
|
id: volumeIcon
|
||||||
|
|||||||
@ -3,14 +3,11 @@ import qs
|
|||||||
import qs.settings
|
import qs.settings
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
property real fill: 0
|
|
||||||
font.family: "Material Symbols Rounded"
|
|
||||||
color: Colors.onSurfaceColor
|
color: Colors.onSurfaceColor
|
||||||
font.pixelSize: Settings.config.fontSize
|
font.family: "Material Symbols Rounded"
|
||||||
|
font.pixelSize: 14
|
||||||
font.variableAxes: ({
|
font.variableAxes: ({
|
||||||
FILL: fill,
|
|
||||||
GRAD: 200,
|
GRAD: 200,
|
||||||
opsz: 36,
|
|
||||||
wght: 400
|
wght: 400
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user