1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-09 04:33:29 -04:00

monitors: fix icon valign in widgets

fixes #862
This commit is contained in:
bbedward
2025-12-01 08:57:48 -05:00
parent 79a4d06cc0
commit 68adbc38ba
4 changed files with 8 additions and 20 deletions
@@ -154,15 +154,12 @@ BasePill {
return Theme.widgetIconColor;
}
implicitWidth: size
implicitHeight: size
width: size
height: size
anchors.verticalCenter: parent.verticalCenter
}
Item {
id: textBox
anchors.verticalCenter: parent.verticalCenter
implicitWidth: root.minimumWidth ? Math.max(gpuTempBaseline.width, gpuTempText.paintedWidth) : gpuTempText.paintedWidth
implicitHeight: gpuTempText.implicitHeight