I’m starting this since a) nobody else has and b)I’ve been busy slamming my head against this widget today.
Comments: This is going to sound like a laundry list of complaints, but Corona Labs, I swear this is just honest feedback!
1. Bugs of note:
a. Does not seem to obey referencePoints properly right now. (#18503)
In the bug report I describe a workaround (set it outside the table!) but as it turns out that doesn’t work either.
b. The default value is less than 1% (#18505)
Easily tested; just :setProgress(0.01) after creation and you’ll see the progress build up). Basically, the default value is an unknowable, unreachable value.
c. Setting progress to 0 is the same as progress to 100 (or any thing 1.0+) (#18505)
Packed into the same bug, for some reason zero is clipped to 1.0.
2. Missing Features:
a. A way to set width of the meter (impossible currently without crafting custom images)
b. A way to set meter progress progressively (currently only absolute is supported)
c. A way to poll the current meter progress (object.progress would be great!)
d. A way to set the fill rate of the meter (currently impossible)
e. A way to poll the fill rate of the meter (currently impossible)
f. A way to set the initial progress (currently defaults to something?)
The fixed width meter really surprised me; as best I can tell the meter progress uses a classic leftcap->content->rightcap approach while the outside meter uses a hard-set image.
(For some reason the default assets artwork also uses a fairly long centerpiece so no matter what progress value you set, I believe the minimum it will display is around 10%)
3. Documentation needs work
Yeah, I know, it’s early, give it some time. But since I’m busy giving feedback, it would be great if:
a. The imageSheet specific vars were grouped together. The docs as they are written right now look like you need those values when not using a custom sheet.
b. Some basic info on minimum sizes would be great. I’m tempted to build a more flexible, 1-2px sheet but not sure how flexible its going to be, particularly since there are no warnings. [import]uid: 41884 topic_id: 32614 reply_id: 332614[/import]