Titanium Community Questions & Answer Archive

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

auto height bug in 1.1.3

Hi folks,

I'm getting a crash when using height:auto in the bleeding edge code on Android.

var row=Titanium.UI.createTableViewRow({
hasDetail:        true,
height:            'auto',
listid:            item.id,
listprice:        item.price,
listtitle:        item.title
});

Looks like a newly introduced bug because in the trace I see:
java.lang.NumberFormatException: unable to parse 'auto' as integer
which does not appear in the 1.1.2 release or earlier.

— asked April 3rd 2010 by Gregor Munro
  • andriod
  • createtableviewrow
  • height
0 Comments

4 Answers

  • Thanks for the heads up see Ticket 704

    — answered April 3rd 2010 by Don Thorp
    permalink
    0 Comments
  • Marshal broke it :p

    — answered April 3rd 2010 by Dan Mullineux
    permalink
    0 Comments
  • Tsk tsk! :)

    Glad to be of some help

    — answered April 4th 2010 by Gregor Munro
    permalink
    0 Comments
  • Looks like @Marshall pushed the fix to unbreak it.

    — answered April 5th 2010 by Don Thorp
    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.