{ "id": "101244", "key": "TIMOB-10929", "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": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14127", "description": "Sprint 2012-19 API", "name": "Sprint 2012-19 API", "archived": true, "released": true, "releaseDate": "2012-09-24" }, { "id": "14271", "description": "2012 Sprint 19", "name": "2012 Sprint 19", "archived": true, "released": true, "releaseDate": "2012-09-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-18T16:47:37.000+0000", "created": "2012-09-14T18:09:29.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-ios090112", "qe-ios6", "qe-nfc", "qe-testadded" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [ { "id": "21932", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "102443", "key": "TIMOB-11395", "fields": { "summary": "iOS: ButtonBar in Toolbar used as keyboardToolbar not aligned with Done button", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-11T21:01:44.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": "Reported from the community Q&A: Using the following code, the buttonbar is displayed outside the bounds of the navBar:\r\n\r\nLink to original posting:\r\nhttp://developer.appcelerator.com/question/140766/tabbedbar-ios-6-bug\r\n\r\n{code}\r\n\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\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\n\r\nvar modeTabbedBar = Ti.UI.iOS.createTabbedBar({\r\n labels: [L('browse', 'Böngészés'), L('drivemode', 'Vezetés')],\r\n style: Titanium.UI.iPhone.SystemButtonStyle.BAR,\r\n width: '100%'\r\n });\r\n \r\nwin1.setTitleControl(modeTabbedBar);\r\n \r\n\r\ntabGroup.addTab(tab1); \r\n\r\ntabGroup.open();\r\n{code}\r\n\r\nNote: when setting the height to 30, the button bar appears within the bounds of the navbar as in the second screenshot\r\nNote: When using iOS 5, the button bar fills the nav bar as in the third screenshot\r\n\r\nSteps to reproduce:\r\n1) Using the sample code, run in iOS 6 simulator\r\n\r\nExpected result:\r\nButton bar fits inside the navbar\r\n\r\nActual result:\r\nThe button bar is outside the bounds of the navbar", "attachment": [ { "id": "31359", "filename": "Screen Shot 2012-09-14 at 6.01.15 PM.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T18:09:29.000+0000", "size": 30334, "mimeType": "image/png" }, { "id": "31360", "filename": "Screen Shot 2012-09-14 at 6.02.04 PM.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T18:09:29.000+0000", "size": 26498, "mimeType": "image/png" }, { "id": "31361", "filename": "Screen Shot 2012-09-14 at 6.07.29 PM.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T18:09:29.000+0000", "size": 30800, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: buttonBar- Button bar when set as title control does not automatically size to NavBar", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio : 2.1.2.201208301612\r\nSDK version : 2.1.3.v20120913140112\r\nIphone & Ipad : IOS 6 beta gm seed", "comment": { "comments": [ { "id": "219337", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending https://github.com/appcelerator/titanium_mobile/pull/2979", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-17T13:46:04.000+0000", "updated": "2012-09-17T13:46:04.000+0000" }, { "id": "219589", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport (2_1_X) PR https://github.com/appcelerator/titanium_mobile/pull/2990", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-18T15:27:57.000+0000", "updated": "2012-09-18T15:27:57.000+0000" }, { "id": "220012", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with Kitchensink and sample code on:\r\nMountain Lion 10.8.1\r\nXcode 4.5 GM\r\nTitanium Studio, build: 2.1.2.201208301612\r\nSDK: 2.1.3.v20120918170114\r\niPhone 4s iOS 6\r\niPhone 6.0 simulator", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-20T15:19:09.000+0000", "updated": "2012-09-20T15:19:09.000+0000" }, { "id": "220876", "author": { "name": "mrvvoo", "key": "mrvvoo", "displayName": "Markus Wutzler", "active": true, "timeZone": "Europe/Berlin" }, "body": "this applies also on ButtonBar when it is used within a keyboard toolbar in TextField or TextArea for instance. Is there a separate ticket concerning this?", "updateAuthor": { "name": "mrvvoo", "key": "mrvvoo", "displayName": "Markus Wutzler", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-26T09:25:58.000+0000", "updated": "2012-09-26T09:25:58.000+0000" }, { "id": "221520", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Markus, it does not appear so. Can you please file a separate ticket for that issue?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-30T05:26:27.000+0000", "updated": "2012-09-30T05:26:27.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }