{ "id": "82267", "key": "AC-2884", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-12-28T05:37:33.000+0000", "created": "2011-11-03T02:41:58.000+0000", "labels": [ "button", "buttonbar", "buttons", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:47:50.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "This happens for all buttons in both toolbar, tabbedbar, buttonbar, etc. \r\n\r\nDocumentation says the following: https://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.TabbedBar-object\r\n\r\n\"labels\tarray the array of labels for the button bar. each object should have the properties title, image, width and enabled.\"\r\n\r\nIn practice, if an image is specified, no title is displayed. There's nothing limiting the button from displaying both the button and the title, many apps do that.\r\n\r\nTry this\r\n\r\nvar tabbedbar = Titanium.UI.createTabbedBar({\r\n\t\t\tlabels:[\r\n\t\t\t\t{title: 'Item 1', width: 100, image: 'images/image1.png'},\r\n\t\t\t\t{title: 'Item 2', width: 100, image: 'images/image2.png'},\r\n\t\t\t\t{title: 'Item 3', width: 100, image: 'images/image3.png'},\r\n\t\t\t],\r\n\t\t\tstyle:Titanium.UI.iPhone.SystemButtonStyle.BAR,\r\n\t\t});\r\n", "attachment": [], "flagged": false, "summary": "Button in bar should be able to display both image and title", "creator": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ziggamon2", "key": "ziggamon2", "displayName": "Sergej Kotliar", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iphone", "comment": { "comments": [ { "id": "177378", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for raising this ticket.\r\n\r\nIn order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist], and add any missing information.\r\n\r\nFurthermore, a test case must run without modification, as per the [Creating a Test Case|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase] section.\r\n\r\nI will mark this resolved for now. Please reopen it once it is complete, and I will move it to the main project.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-28T05:37:20.000+0000", "updated": "2011-12-28T05:37:20.000+0000" }, { "id": "183593", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist] to ensure that we can escalate it quickly. Read [How to Submit a Bug Report|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report] if you have not read it before, and always start a ticket using the [JIRA Ticket Template|https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template].\r\n\r\nThanks in advance", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-17T02:23:21.000+0000", "updated": "2012-02-17T02:23:21.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }