{ "id": "60674", "key": "TIMOB-42", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [ { "id": "11208", "name": "GA - M1", "archived": true, "released": true } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:50:12.000+0000", "created": "2011-04-15T02:22:53.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:50:12.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Description

\n

The purpose of this API is to create a tabbed bar native\ncontrol.

\n

Example

\n
\n\nvar tabbedBar = Titanium.UI.createTabbedBar({id:'foo', labels:[button1, button2], color:'#336699'});\n\nNote: a tabbedBar can be inserted on the toolbar or navbar like a normal button\n
\n

API Arguments

\n

id : optional. HTML element id for where the\nbutton bar will be placed if placed in webview

\n

labels : array of button title strings

\n

activeIndex : optional. default is 0. the index\nof the active tab

\n

images : array of button images

\n

color : hex web color for buttons (e.g.,\n#336699)

\n

backgroundColor : optional. background color of\nbutton

{html}", "attachment": [], "flagged": false, "summary": "API - Titanium.UI.createTabbedBar", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "122696", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

resolved in 0.5

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:22:53.000+0000", "updated": "2011-04-15T02:22:53.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }