1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 23:42:51 -05: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

View File

@@ -86,15 +86,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(tempBaseline.width, cpuTempText.paintedWidth) : cpuTempText.paintedWidth
implicitHeight: cpuTempText.implicitHeight