[TIMOB-1727] button backgroundColor does not work
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T03:00:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-14 |
Components | iOS |
Labels | backgroundcolor, button, ios, klist, release-1.7.0 |
Reporter | Robby |
Assignee | Blain Hamon |
Created | 2011-04-15T03:00:39.000+0000 |
Updated | 2017-03-28T20:53:22.000+0000 |
Description
This has been a thorn in the side for many (myself included) for awhile: See http://developer.appcelerator.com/questions/search/button%20backgroundcolor"> http://developer.appcelerator.com/questions/search/button%20backgro...
Here's a testcase to reproduce. It doesn't work both if the button is on the navBar and if it is just in the window. In the window..the color is set on the edges around the button (which is not what 99.9% of people want I'd think :)
var win = Ti.UI.currentWindow;
var btn1 = Titanium.UI.createButton({
title:"Test",
backgroundColor:'#0d8d00',
width:70,
});
win.rightNavButton = btn1;
var btn2 = Titanium.UI.createButton({
title:"Test",
backgroundColor:'#0d8d00',
width:70,
height:120
});
win.add(btn2);
Blain: I'm not sure of the ticket triage procedure at Appcelerator, so I assigned it to you as it is an iphone related bug. If this isn't right, sorry about that. (I just didn't want it to langish around.)
Attachments
File | Date | Size |
---|---|---|
screen-shot-2011-04-04-at-1110.png | 2011-04-15T03:00:39.000+0000 | 122328 |