Improve ProgressBar and Slider style 01/13001/3 5.99.1 5.99.2 flounder/5.99.1 flounder/5.99.2 flounder_5.99.1 flounder_5.99.2
authorTasuku Suzuki <tasuku.suzuki@qt.io>
Mon, 25 Dec 2017 04:30:10 +0000 (13:30 +0900)
committerTasuku Suzuki <tasuku.suzuki@qt.io>
Mon, 25 Dec 2017 05:26:09 +0000 (05:26 +0000)
commitb03a688e1cafdb5b97ed9eccf31355a8dec08bf9
tree66870e328e045095f5caa4190459b407fd2f092c
parent244bd4cd8c49a4bbe5e283f75607e588579aa81b
Improve ProgressBar and Slider style

The position of stop 1.0 was set to the positoin of "value" in both
controls. Due to this, gradiation was changed/re-drawn whenever value
was changed.
This commit sets the position of stop 1.0 to the end of the control.
Now gradiation itself is fixed, not changed by its value.

Change-Id: I84e1b30a18af6a0af2d5b867a288b0d3501e565e
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
imports/qtquickcontrols2aglstyle/ProgressBar.qml
imports/qtquickcontrols2aglstyle/Slider.qml