From e8ef093ea8b4af6e3e42e27c1407520c52a6b387 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 16 Aug 2012 01:51:17 +0200 Subject: [PATCH] Also regenerate the value pixmap when the height changes It could generate a visual glitch if the program plays with the bar's height. Thanks David Edmunson for noticing :) REVIEW: 105966 --- declarativeimports/plasmacomponents/qml/ProgressBar.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/declarativeimports/plasmacomponents/qml/ProgressBar.qml b/declarativeimports/plasmacomponents/qml/ProgressBar.qml index a04f91b69..9f65b1605 100644 --- a/declarativeimports/plasmacomponents/qml/ProgressBar.qml +++ b/declarativeimports/plasmacomponents/qml/ProgressBar.qml @@ -151,6 +151,7 @@ Item { visible: indeterminate || value > 0 onWidthChanged: resizeTimer.restart() + onHeightChanged: resizeTimer.restart() SequentialAnimation { id: indeterminateAnimation