Titanium Community Questions & Answer Archive

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

iPhone Bug: backgroundGradient doesn't work for TableRowViews

    var row = Ti.UI.createTableViewRow({
      backgroundGradient : {
       type:'linear',
       colors:[{color:'#d4d4d4',position:0.0},{color:'#c4c4c4',position:0.50},{color:'#b4b4b4',position:1.0}]
      },
      hasChild : true
    });

I copied the backgroundGradient property straight from the KitchenSink app. This doesn't work.

Bug, no?

— asked May 29th 2010 by Donnie Tognazzini
  • backgroundgradient
  • gradient
  • tableview
0 Comments

1 Answer

  • Accepted Answer

    I have opened an issue.

    This should work but must not be rendering correctly on a tableview cell since they're handled slightly different than a normal View.

    — answered May 29th 2010 by Jeff Haynie
    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.