Commit 03f9ab0f authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Battery Monitor] Fix icon size for InhibitionHint

In QtQuick Layouts implicit size, which is taken from the SVG's preferred size, takes
precedence potentially destroying the layout.

Also, it should have been medium to be consistent with the rest.

BUG: 383213
FIXED-IN: 5.8.8
parent 94f943b3
......@@ -30,8 +30,8 @@ RowLayout {
PlasmaCore.IconItem {
id: iconItem
width: units.iconSizes.small
height: width
Layout.preferredWidth: units.iconSizes.medium
Layout.preferredHeight: units.iconSizes.medium
visible: valid
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment