Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1217] Button style properties

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2011-04-19T11:16:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsdefect, ios, iphone
ReporterKevin Whinnery
AssigneeKevin Whinnery
Created2011-04-15T02:46:52.000+0000
Updated2017-03-09T22:49:46.000+0000

Description

The following code seems not to work on buttons - are people supposed to be able to set the backgroundColor, etc. style properties on buttons?

http://pastie.org/1024079">http://pastie.org/1024079

Screenshot:

http://skitch.com/kwhinnery/dkcx7/iphone-simulator">http://skitch.com/kwhinnery/dkcx7/iphone-simulator

If not, erroneous properties should be removed from the docs:

http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Button-object.html"> http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI....

Comments

  1. Robby 2011-04-15

    Oops, my ticket, #1727 is a dupe of this.

    Setting backgroundImage: 'none' will "fix" the problem with buttons in the window, but not for buttons on the nav bar.

  2. Lee Morris 2017-03-09

    Closing ticket as duplicate.

JSON Source