Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Won't Fix
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Found in 4.5.0.18298.
Steps to reproduce:
1. Compile and run attached MXML file.
2. Drag the slider.
Actual Results:
Because my maximum is 50 and not 100, the progress bar only fills up 50%, even though value=50 and maximum=50.
Expected Results:
ImageLoadingSkin should be a bit more flexible, so I could use this Range+skin as a generic ProgressBar anywhere in my app without reinventing das wheel.
Workaround (if any):
Custom ImageLoadingSkin skin wherein you tweak the percentWidth logic slightly to take value+maximum into account. This simple tweaked worked in my limited testing:
<!-- Progress bar -->
<s:Group percentWidth="
" height="100%">
Not sure if I should be casting to int() or not though.