{ "id": "91862", "key": "TIMOB-9135", "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": [ { "id": "13503", "description": "Sprint 2012-14 Core", "name": "Sprint 2012-14 API", "archived": true, "released": true, "releaseDate": "2012-07-13" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-12T16:48:18.000+0000", "created": "2012-05-15T11:13:47.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "parity", "qe-review", "qe-testadded", "tabgroup" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "23439", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "102943", "key": "TIMOB-12010", "fields": { "summary": "iOS: Customize selected tab ImageTintColor", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-01-02T22:01:14.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": "Since iOS5+ supports customizing tabgroup like changing the background color by \"tintColor\" property, our platform should provide similar functions to let customers do those in Titanium as well.", "attachment": [], "flagged": false, "summary": "iOS: Customize tab group", "creator": { "name": "qgao", "key": "qgao", "displayName": "Qing Gao", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "qgao", "key": "qgao", "displayName": "Qing Gao", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "ios5+ version", "comment": { "comments": [ { "id": "200481", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We need to evaluate all platforms for this feature.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-26T19:05:44.000+0000", "updated": "2012-06-26T19:05:44.000+0000" }, { "id": "203060", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed on master by PR https://github.com/appcelerator/titanium_mobile/pull/2538\r\n\r\nSupported via the `tabsBackgroundColor` property of tabgroup.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-12T16:48:18.000+0000", "updated": "2012-07-12T16:48:18.000+0000" }, { "id": "223906", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Testing Instruction\n\n{code}\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\nTitanium.UI.setBackgroundColor('#000');\n\n// create tab group\nvar tabGroup = Titanium.UI.createTabGroup();\n\n\n//\n// create base UI tab and root window\n//\nvar win1 = Titanium.UI.createWindow({ \n title:'Tab 1',\n backgroundColor:'#fff'\n});\nvar tab1 = Titanium.UI.createTab({ \n icon:'KS_nav_views.png',\n title:'Tab 1',\n window:win1\n});\n\nvar label1 = Titanium.UI.createLabel({\n\tcolor:'#999',\n\ttext:'I am Window 1',\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\n\ttextAlign:'center',\n\twidth:'auto'\n});\n\nwin1.add(label1);\n\n//\n// create controls tab and root window\n//\nvar win2 = Titanium.UI.createWindow({ \n title:'Tab 2',\n backgroundColor:'#fff'\n});\nvar tab2 = Titanium.UI.createTab({ \n icon:'KS_nav_ui.png',\n title:'Tab 2',\n window:win2\n});\n\nvar label2 = Titanium.UI.createLabel({\n\tcolor:'#999',\n\ttext:'I am Window 2',\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\n\ttextAlign:'center',\n\twidth:'auto'\n});\n\n\n\nwin2.add(label2);\n//\n// add tabs\n//\ntabGroup.tabsBackgroundColor= 'red';\ntabGroup.addTab(tab1); \ntabGroup.addTab(tab2); \n\n\n// open tab group\ntabGroup.open();\n\n{code}", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-16T23:08:42.000+0000", "updated": "2012-10-16T23:08:42.000+0000" }, { "id": "223916", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix with:\nTitanium Studio, build: 3.0.0.201210090117\nTitanium SDK, build: 3.0.0.v20121014234610\nDevices:\nSimulator 6.0\niPhone4s ios 6.0\n\nClosing this issue.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-16T23:34:05.000+0000", "updated": "2012-10-16T23:34:05.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }