Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5597] MobileWeb: Object switch does not represent properties in Chrome

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2011-05-25T02:44:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterMisha Vasko
AssigneeMaxim Negadaylov
Created2011-05-25T02:15:14.000+0000
Updated2017-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);

Comments

  1. Maxim Negadaylov 2011-05-25

    Chrome does not support this properties for checkboxes
  2. Lee Morris 2017-03-10

    Closing ticket as the issue will not fix.

JSON Source