Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9268] iOS: ToolBar backgroundImage property doesn't work

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2015-02-10T21:25:16.000+0000
Affected Version/sRelease 2.0.1, Release 3.1.0, Release 3.1.1, Release 3.2.0, Release 3.2.1
Fix Version/sn/a
ComponentsiOS
Labelsapi, supportTeam
ReporterNikhil Sharma
AssigneeIngo Muschenetz
Created2012-05-24T16:17:44.000+0000
Updated2017-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();

Comments

  1. jithinpv 2013-04-01

    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
  2. Chuks 2013-04-30

    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?
  3. Daniel Sefton 2013-06-21

    Another report at TC-2488. Tested and confirmed on iOS 6 simulator with 3.1.1 GA.
  4. Samuel East 2013-07-10

    Any news on this its been around for over a year now. Would love a fix. Thanks
  5. Pedro Enrique 2015-02-10

    Tested with Titanium SDK 3.5.0.GA and cannot reproduce. Closing as Fixed.
  6. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source