Hide ProgressBar inner item when value is 0
This fixes the situation where an empty progress bar still shows a little spot on the left. REVIEW: 120489
This commit is contained in:
parent
759b75314d
commit
7cf9fb93d8
@ -103,6 +103,7 @@ Item {
|
||||
|
||||
width: Math.max(margins.left + margins.right, (indeterminate ? units.gridUnit*2 : range.position))
|
||||
height: Math.max(margins.top + margins.bottom, (indeterminate ? units.gridUnit*2 : range.position))
|
||||
visible: indeterminate || range.position > 0
|
||||
}
|
||||
//this can't reference its parent because needs to be loaded before it,
|
||||
//so never bind background to anything here
|
||||
|
Loading…
Reference in New Issue
Block a user