{ "id": "63953", "key": "TIMOB-3321", "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": [], "resolution": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2020-01-09T18:51:48.000+0000", "created": "2011-04-15T03:42:08.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect", "ios", "ipad", "rplist", "tab", "touch" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-01-09T18:51:48.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}
Problem
\r\nIn an effort to adjust spacing between tabs (specifically on an\r\niPad) users would like to put in blank tabs with no touch events.\r\nIn the documentation we have a touchEnabled: false property that\r\ndoes not work.
\r\nTest Code
\r\n\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab2 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 2',\r\n window:win2,\r\n width:200\r\n});\r\nvar tab3 = Titanium.UI.createTab({ \r\n touchEnabled:false\r\n});\r\nvar tab4 = Titanium.UI.createTab({ \r\n touchEnabled:false\r\n});\r\ntabGroup.addTab(tab1); \r\ntabGroup.addTab(tab3); \r\ntabGroup.addTab(tab4); \r\ntabGroup.addTab(tab2);\r\ntabGroup.open();
\r\n
\r\nTicket Reference http://developer.appcelerator.com/helpdesk/view/76410