[TIMOB-9268] iOS: ToolBar backgroundImage property doesn't work
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-02-10T21:25:16.000+0000 |
Affected Version/s | Release 2.0.1, Release 3.1.0, Release 3.1.1, Release 3.2.0, Release 3.2.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | api, supportTeam |
Reporter | Nikhil Sharma |
Assignee | Ingo Muschenetz |
Created | 2012-05-24T16:17:44.000+0000 |
Updated | 2017-03-16T22:16:56.000+0000 |
Description
The backgroundImage property of a ToolBar does not work. Consequently, the background options like repeat and caps don't work.
Repo Steps
1. Run the below code in app.js. 2. The background image is not displaying in the toolbar.
var win = Ti.UI.createWindow({
backgroundColor: '#ccc'
});
var toolbar = Titanium.UI.iOS.createToolbar({
backgroundImage: 'KS_nav_ui.png',
bottom:0,
borderTop:true,
borderBottom:false
});
win.add(toolbar);
win.open();
Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.0
Any resolution on this issue? I can still reproduce with: Titanium SDK version: 3.1.0.GA iOS iPhone Simulator: iOS SDK version: 6.0 How do I get to set a backgroundImage property for toolbar?
Another report at TC-2488. Tested and confirmed on iOS 6 simulator with 3.1.1 GA.
Any news on this its been around for over a year now. Would love a fix. Thanks
Tested with Titanium SDK 3.5.0.GA and cannot reproduce. Closing as Fixed.
Closing ticket as fixed.