{ "id": "88678", "key": "TIMOB-8264", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2012-03-23T21:44:59.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": null, "updated": "2018-03-06T18:57:54.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Requesting the ability to set the barImage on a toolbar. You can set barColor on a toolbar, but barImage is not exposed.\r\n\r\nh4. Steps to reproduce:\r\nStep 1: add the attached image to your project\r\nStep 2: run the code below\r\nStep 3: notice that barImage is set on both the window and the toolbar but it only shows on the window's navbar\r\nStep 4: uncomment barColor and notice that is affects that toolbar as you would expect\r\n\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'white',\r\n modal: true,\r\n barImage: 'toolbar_background_blue.png'\r\n});\r\nwin.open();\r\n\r\nvar send = Titanium.UI.createButton({\r\n title: 'Send',\r\n style: Titanium.UI.iPhone.SystemButtonStyle.DONE,\r\n});\r\n\r\nvar camera = Titanium.UI.createButton({\r\n systemButton: Titanium.UI.iPhone.SystemButton.CAMERA,\r\n});\r\n\r\nvar cancel = Titanium.UI.createButton({\r\n systemButton: Titanium.UI.iPhone.SystemButton.CANCEL\r\n});\r\n\r\nflexSpace = Titanium.UI.createButton({\r\n systemButton:Titanium.UI.iPhone.SystemButton.FLEXIBLE_SPACE\r\n});\r\n\r\nvar toolbar = Titanium.UI.iOS.createToolbar({\r\n items:[send, flexSpace, camera, flexSpace, cancel],\r\n bottom:0,\r\n borderTop:true,\r\n borderBottom:false,\r\n barImage: 'toolbar_background_blue.png'\r\n// barColor: 'black',\r\n});\r\nwin.add(toolbar);\r\n{code}", "attachment": [ { "id": "26552", "filename": "toolbar_background_blue.png", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-23T21:44:59.000+0000", "size": 6405, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: toolbar - requesting barImage", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.8.2\r\niPhone simulator 5.0", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }