{ "id": "147505", "key": "TIMOB-18871", "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": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2015-05-14T04:11:27.000+0000", "created": "2015-05-05T02:45:52.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "alloy", "tabbedbar" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-05-14T04:11:27.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": "How can we use additional views inside tabbedBar like [doc|http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.TabbedBar] say.\r\n\r\nI tried the following code, but do not work at all. So i am not sure how to do it now. Please Help.\r\n\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \t1\r\n \t\t2\r\n \t\t3>\r\n \t\r\n \r\n \r\n\r\n{code}", "attachment": [ { "id": "55377", "filename": "iOS Simulator Screen Shot 14 May 2015 10.32.05 am.png", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-05-14T02:34:12.000+0000", "size": 25161, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: How to make Views inside tabbedBar work", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": null, "comment": { "comments": [ { "id": "351622", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~sliang], Have you tried classic to see if it works?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-05-05T03:48:11.000+0000", "updated": "2015-05-05T03:48:11.000+0000" }, { "id": "351623", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "[~cng], Not really. Since I am not sure is it suppose to work like that. Also the doc is really poor about this.", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-05-05T03:50:28.000+0000", "updated": "2015-05-05T03:50:46.000+0000" }, { "id": "352399", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Just tried this on classic and it works. \r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar bb1 = Titanium.UI.iOS.createTabbedBar({\r\n labels:['One', 'Two', 'Three'],\r\n backgroundColor:'#336699',\r\n top:50,\r\n style:Titanium.UI.iPhone.SystemButtonStyle.BAR,\r\n height:25,\r\n width:200\r\n});\r\nwin.add(bb1);\r\nwin.open();\r\n{code}\r\n\r\nMoving ticket to Alloy.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-05-13T06:25:43.000+0000", "updated": "2015-05-13T06:25:43.000+0000" }, { "id": "352418", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "[~cng], ye, exactly. \r\nSorry, the height should be 25 for all.", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-05-13T09:09:38.000+0000", "updated": "2015-05-13T09:09:38.000+0000" }, { "id": "352492", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~sliang], is this what you trying to achieve? Attached screenshot.\r\nh4. classic code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#FFFF'\r\n});\r\n \r\nvar bb1 = Titanium.UI.iOS.createTabbedBar({\r\n // labels:['One', 'Two', 'Three'],\r\n \tlabels:[{\r\n \t\timage:'/images/appcelerator_small.png'\r\n \t}, {\r\n \t\timage:'/images/appcelerator_small.png'\r\n \t}, {\r\n \t\timage:'/images/appcelerator_small.png'\r\n \t}],\r\n backgroundColor:'#336699',\r\n top:50,\r\n style:Titanium.UI.iPhone.SystemButtonStyle.BAR,\r\n height:25,\r\n width:200\r\n});\r\nwin.add(bb1);\r\nwin.open();\r\n{code}\r\n\r\nReferences here if it helps:\r\nhttp://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.iOS.TabbedBar-property-labels\r\nhttp://docs.appcelerator.com/titanium/latest/#!/api/BarItemType", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-05-14T02:33:51.000+0000", "updated": "2015-05-14T02:35:23.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }