{ "id": "160245", "key": "TIMOB-23377", "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": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-05-16T08:47:35.000+0000", "created": "2016-05-13T14:39:27.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.3.0" ], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "51693", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "160235", "key": "TIMOB-23372", "fields": { "summary": "Windows: Layout with left & right break layout", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "updated": "2016-05-16T18:44:24.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "{{Label}} with both {{left}} and {{right}} specified in {{ScrollView}} always shows horizontal scroll bar. \r\n\r\n**Expected**\r\n\r\nFollowing example should not show horizontal scroll bar.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'green' });\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n layout: \"vertical\",\r\n top: 0,\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n backgroundColor: 'yellow',\r\n layout: \"horizontal\",\r\n top: 10,\r\n left: 10,\r\n height: Ti.UI.SIZE,\r\n width: Ti.UI.SIZE,\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n left: 10,\r\n right: 10,\r\n color: \"blue\",\r\n text: \"this is test text\"\r\n});\r\n\r\nview.add(label);\r\n\r\nscrollView.add(view);\r\nwin.add(scrollView);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: Label with both left and right in ScrollView always shows scroll bar", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 627, "state": "closed", "name": "2016 Sprint 10 SDK", "startDate": "2016-05-07T00:43:56.954Z", "endDate": "2016-05-21T00:43:00.000Z", "completeDate": "2016-05-23T02:06:04.349Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "385717", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Note: This ticket was introduced by my original PR for TIMOB-23372. Once TIMOB-23372 is fixed this should be fixed too.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-14T01:00:31.000+0000", "updated": "2016-05-14T01:00:31.000+0000" }, { "id": "385718", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile_windows/pull/690\r\n5_3_X: https://github.com/appcelerator/titanium_mobile_windows/pull/691", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-14T01:01:49.000+0000", "updated": "2016-05-14T01:01:49.000+0000" }, { "id": "385774", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed by TIMOB-23293", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-16T08:47:35.000+0000", "updated": "2016-05-16T08:47:35.000+0000" }, { "id": "385810", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed.\r\nTested on:\r\nNokia Lumia 928 (8.1) \r\nWindows Simulator (8.1) \r\nMicrosoft Lumia 640 (10) \r\nWindows Simulator (10)\r\nWindows 10 \r\nStudio: 4.6.0.201605160952\r\nTi SDK: 5.3.0.v20160516040258\r\nAppc NPM: 4.2.5-5 \r\nApp CLI: 5.3.0-45 \r\nNode v0.12.7\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-16T18:42:51.000+0000", "updated": "2016-05-16T18:42:51.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }