Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1995] Can't change a button background image using setBackgroundImage() dynamically when the button is on the navbar.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2013-04-01T21:15:04.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsbutton, ios, ios6
ReporterYgor Lemos
AssigneeDaniel Sefton
Created2012-10-15T20:37:56.000+0000
Updated2016-03-08T07:40:56.000+0000

Description

Steps to reproduce: Create a window with a navbar. create a button with a background image. add a button.setBackgroundImage() to another image on button click. add the button to the navbar with win.setLeftNavButton(button) Expected: the button background image should've changed. What happens: The button bg image does not change (although the property has changed on the object) When I change from a button to a regular view, the backgroundImage changes normally.

Comments

  1. Pedro Enrique 2013-04-01

    Closing as incomplete. Please provide code to reproduce. Something that can be copied and pasted into app.js and ran

JSON Source