[TIMOB-1401] Window backgroundGradient does not work in iOS 4.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Trivial |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2012-06-22T13:47:48.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | ctredway |
| Assignee | Neeraj Gupta |
| Created | 2011-04-15T02:51:16.000+0000 |
| Updated | 2017-03-09T23:32:47.000+0000 |
Description
A customer reported that windows backgroundGradient does not render correctly. I could not get it to display at all using the following code.
var winCaseOverview= Titanium.UI.currentWindow;
winCaseOverview.backgroundGradient = {
type:'linear',
colors:[{
color:'#383838',
position:0.0
},
{
color:'#2a2a2a',
position:1.0
}]
};
Since there is not an example any where, this could be a code issue.
Use offset not position
Closing ticket as invalid.