[TIMOB-5597] MobileWeb: Object switch does not represent properties in Chrome
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2011-05-25T02:44:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Misha Vasko |
Assignee | Maxim Negadaylov |
Created | 2011-05-25T02:15:14.000+0000 |
Updated | 2017-03-10T18:53:19.000+0000 |
Description
Object switch does not represent such properties as backgroundColor, backgroundImage, border properties in Chrome browser. The same properties work fine on iPhone Safari.
win = Ti.UI.currentWindow;
var swit = Ti.UI.createSwitch({
top: 10,
left: 10,
height: 100,
width: 100,
backgroundColor: 'red',
titleOn: 'titON',
titleOff:'titOFF',
borderWidth: 5,
borderColor: 'blue',
backgroundImage: '/images/BUTT_grn_off.png',
borderRadius: 5
});
win.add(swit);
Chrome does not support this properties for checkboxes
Closing ticket as the issue will not fix.