Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Progressbar ignoring Max?

var pb = Titanium.UI.createProgressBar({
    min:0,
    value: 0.29,
    max: 0.3,
    width: 200
});

I expect to see an almost full progressbar, but it is 1/3 full. Just as with leaving the MAX-property out all together.

Am I missing something obvious? Is this working for anyone?

/J

— asked August 30th 2010 by Joacim Boive
  • createprogressbar
  • iphone
  • progressbar
0 Comments

1 Answer

  • I've experienced this too. Just going to stick with min:0, max:1 and dividing 29 by 100 if I want 29% to show.

    — answered May 29th 2011 by Mark Silverberg
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.