IndicatorItem: Workaround for stretched/squished icons
Workaround indicators getting stretched/squished when
(un)plugging external/virtual monitor.
commit5479a8602ead2f981b2b281de6ee70ff543799c6
authorAlfred Neumayer <dev.beidl@gmail.com>
dateFri 27 May 2022, 16:32 (4 years ago)
parente47230e
qml/Panel/Indicators/IndicatorItem.qml+6
@@ -117,6 +117,12 @@ IndicatorDelegate {
117117 source: modelData
118118 color: root.color
119119 Behavior on color { ColorAnimation { duration: UbuntuAnimation.FastDuration; easing: UbuntuAnimation.StandardEasing } }
120+
121+ // Workaround indicators getting stretched/squished when (un)plugging external/virtual monitor
122+ onHeightChanged: {
123+ source = ""
124+ source = modelData
125+ }
120126 }
121127 }
122128 }