[TIMOB-5632] MobileWeb: Button should be transparent when property backgroundImage is defined
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-09-08T06:41:49.000+0000 |
Affected Version/s | Release 1.7.0 |
Fix Version/s | Release 1.7.2 |
Components | MobileWeb |
Labels | qe-closed-3.3.0 |
Reporter | Misha Vasko |
Assignee | Andrew Kulinich |
Created | 2011-08-18T01:36:07.000+0000 |
Updated | 2014-06-30T11:23:07.000+0000 |
Description
Button should be transparent when property backgroundImage is defined.
bug fixed but probably was reverted by wrong commit. need to fix.
{Color:Green} Verified fix with the build: {Color} || *Component* || *Version*|| |OS | OSX 10.9.3| |Xcode | 5.1.1 | |Appcelerator Studio | 3.3.0.201406271159 | |SDK | 3.3.0.v20140627202512 | |acs | 1.0.15 | |alloy | 1.4.0-rc3 | |npm | 1.3.2 | |titanium | 3.3.0-rc4 | |titanium-code-processor | 1.1.1 | |Device | iPhone 5c 7.1, Galaxy Nexus 4.1.1 | *Test Code used:*
var _window = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff' }); var button = Titanium.UI.createButton({ top : 60, title : 'Hello', width : '180', height : '80', backgroundImage : 'KS_nav_ui.png', // image : 'KS_nav_ui.png', // backgroundLeftCap:12, // backgroundTopCap:12, // textAlign: Titanium.UI.TEXT_ALIGNMENT_RIGHT }); _window.add(button); _window.open();