Project: titanium
Issue TIMOB-19952: Windows: Image support for Ti.UI.Button
Currently {{Ti.UI.Button}} doesn't support {{image}} property. {code:javascript} var window = Ti.UI.createWindow({ backgroundColor: 'green' }); var view = Ti.UI.createView({ backgroundColor: 'red', width: '100%', height: 150 }); var button = Ti.UI.createButton({ title: 'Bar bar bar' }); //button.image = "http://www.appcelerator.com/wp-content/themes/appc-rwd/assets/media/images/logo.png"; button.image = Ti.Filesystem.getFile('Logo.png').read(); view.add(button); window.add(view); window.open(); {code}
Story points: 5