iOS Style: Don't show progress if value is 0

Pick-to: 6.4
Change-Id: I29a29a8b366fd810c41dc8e00e752824d02cd79e
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
This commit is contained in:
Doris Verria 2022-07-26 12:37:14 +02:00
parent 86582e456f
commit 4a6e7cec99
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ T.ProgressBar {
readonly property NinePatchImage progress: NinePatchImage {
parent: control.contentItem
visible: control.value
y: (parent.height - height) / 2
width: control.indeterminate ? control.width * 0.4 : control.position * parent.width