Project: titanium
Issue TIMOB-23338: Windows: Ti.UI.Button - Color property sets background color instead of text color
According to http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Button-property-color the color property should set the text color of a button. Currently it sets and overrides any previously set backgroundColor. Example: index.xml {code}	Button 1	Button 2	{code} index.tss {code} ".container": {	backgroundColor:"white",	layout: 'vertical' } "#btn": {	width: Ti.UI.SIZE,	backgroundColor: "blue",	color: "red" } "#btn2": {	width: Ti.UI.SIZE,	backgroundColor: "blue", } {code} index.js {code} function doClick(e) { $.btn.color = "blue"; } function doClick2(e) { $.btn2.color = "yellow"; } $.index.open(); {code}
Story points: 3