{ "id": "113036", "key": "TIMOB-13613", "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": "15117", "description": "2013 Sprint 12 BB", "name": "2013 Sprint 12 BB", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15110", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-18T01:57:38.000+0000", "created": "2013-04-18T00:15:41.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "blackberry", "module_button", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:42:58.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Description:\r\n1. Create an app with the following code in the app.js:\r\n{code}\r\nvar win = Titanium.UI.createWindow();\r\n \r\nvar scroll = Ti.UI.createScrollView({\r\n backgroundColor: '#ccc',\r\n width: Ti.UI.FILL,\r\n height: Ti.UI.FILL,\r\n layout: 'vertical',\r\n contentHeight: Ti.UI.SIZE,\r\n contentWidth: Ti.UI.FILL\r\n});\r\n \r\nfunction MyButton(title) {\r\n return Ti.UI.createButton({\r\n title: title,\r\n top: 10\r\n });\r\n}\r\n \r\nfor(var i = 0; i < 100; i++) {\r\n scroll.add(MyButton('Button #' + (i + 1))); \r\n}\r\n \r\nwin.add(scroll);\r\nwin.open();\r\n{code}\r\n2. Notice the button text after the app launches\r\n\r\nActual Results:\r\n1. The button text are cut as the buttons do not size to fit its text\r\n\r\nExpected results:\r\n1. The buttons should fit its contents\r\n\r\n", "attachment": [], "flagged": false, "summary": "BlackBerry Q10 : Buttons in the Q10 device do not size to fit its text", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nTi Studio : 3.1.1.201304122013\r\nTi BB SDK : 3.2.0.v20130412191647\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nBB simulator : 10.0.10.261\r\nZ10 device running 10.0.10.88\r\nQ10 device running 10.1.0.138", "comment": { "comments": [ { "id": "262315", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Updated label.\r\nClosing as fixed.\r\nVerified with environment:\r\n\r\nStudio: 3.1.2.201307161852\r\nTitanium SDK:3.1.2.v20130710144553\r\nacs:1.0.3\r\nalloy:1.1.3\r\nnpm:1.3.2\r\ntitanium:3.1.1\r\ntitanium-code-processor:1.0.1\r\nOS: OSX 10.8\r\nDevice:Blackberry-Z10(v 10.0.10.261)\r\n\r\nBlackBerry Q10 : Buttons in the Q10 device now size to fit its text\r\nblackberry SDK: 10.1.0.1020", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-18T09:17:42.000+0000", "updated": "2013-07-18T09:17:42.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }