-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.5.2, 6.6.0 Beta3
-
b1d53c599 (dev), 004985635 (6.6), 3c685b0c7 (6.5)
Code
import QtQuick import QtQuick.Controls.Basic Window { width: 640 height: 480 visible: true ProgressBar { id: prog anchors.centerIn: parent value: 0.5 } Component.onCompleted: { prog.background.color = "cyan" prog.contentItem.color = "yellow" } Button { text: "Update" onClicked: { prog.background.color = "magenta" prog.contentItem.color = "black" } } }
Outcomes
- At startup, the right half of the bar is cyan and the left half is yellow (expected)
- When the button is clicked, the right half of the bar turns magenta (expected)
- When the button is clicked, the left half of the bar stays yellow instead of turning black (NOT expected)