Hi there,
It's been mentioned elsewhere, but with no response from the dev team and, as far as I can see, no bug logged. Although documented changing backgroundGradient and backgroundColor for instances of TableViewSection have no effect.
Anyone prepared to comment, or log the bug? Is this likely to get fixed?
Thanks,
Toby
1 Answer
I couldn't get it to work using TableViewSection so another way is to make a make a view with the layout you want and set it as the headerView of a section.
header = Ti.UI.createView({ backgroundColor:'black', height:'auto' }); headerLabel = Ti.UI.createLabel({ font:{fontSize:14,fontWeight:'bold'}, text:'Details', color:'white', textAlign:'left', top:0, left:10 }); header.add(headerLabel); section = Ti.UI.createTableViewSection({headerView:header); // Then create table rows as needed and add then to section
Your Answer
Think you can help? Login to answer this question!