Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5539] MobileWeb: Not working properties backgroundDisabledColor and backgroundDisabledImage in Switch

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-26T01:38:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterMisha Vasko
AssigneeMaxim Negadaylov
Created2011-05-26T00:57:40.000+0000
Updated2017-03-09T20:05:45.000+0000

Description

Properties backgroundDisabledColor and backgroundDisabledImage of the switch object do not work on iPhone when the enabled property of the switch is setted false.
var win = Ti.UI.currentWindow;

var swit = Ti.UI.createSwitch({
	top: 10,
	left: 10,
	height: 100,
	width: 100,
	titleOn: 'titOn',
	titleOff: 'titOff',
	title: 'The switch',
	enabled: false,
	backgroundDisabledColor: 'green',
	backgroundDisabledImage: '/images/BUTT_grn_off.png',
	backgroundColor: 'red'
});

win.add(swit);

Comments

  1. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source