[TIMOB-3500] iOS: Can't put backgroundSelectedImage into jss file
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-22T22:16:25.000+0000 |
Affected Version/s | Release 1.6.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Balint Erdi |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:45:56.000+0000 |
Updated | 2017-06-22T22:16:25.000+0000 |
Description
The backgroundSelectedImage property works with inline styling:
Ti.UI.createButton({ id: 'details-back-button', backgroundImage: '../../assets/ui/button-back.png', backgroundSelectedImage: '../../assets/ui/button-back.png' });
But does not work from the jss file:
#details-back-button {
background-image: '../../assets/ui/button-back.png';
background-selected-image: '../../assets/ui/button-back.png';
}
(The reason I'm setting the same image as the selected one is that otherwise a black overlay shows up when tapping the button)
Closing as invalid as we no longer support JSS.