{ "id": "91816", "key": "TIMOB-9127", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13403", "description": "Sprint 2012-11 Core", "name": "Sprint 2012-11 Core", "archived": true, "released": true, "releaseDate": "2012-06-03" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-05-22T09:54:50.000+0000", "created": "2012-05-14T13:01:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "core", "parity" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "17360", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "89953", "key": "TIMOB-8713", "fields": { "summary": "iOS: Label not resizing properly when in ScrollView", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "17366", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "89953", "key": "TIMOB-8713", "fields": { "summary": "iOS: Label not resizing properly when in ScrollView", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T22:07:11.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": "h6.Issue\r\nAs the title\r\n\r\nh6.Tested on\r\niOS 5 simulator\r\nDroid razr 2.3.5\r\n\r\nh6.Expected behavior - 2.1.0 SDK\r\nA label with a height of Ti.UI.SIZE and fixed width specified will grow to the size of the content.\r\n\r\nh6.Current Behavior - 2.0.1.x\r\nA label with a height of Ti.UI.SIZE and fixed width specified doesn't grow to the height of the content.\r\n\r\nh6.Repro sequence\r\n{code}\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'My Window',\r\n backgroundColor:'pink'\r\n});\r\n\r\nvar view = Ti.UI.createView(\r\n{\r\n top: 20,\r\n left: 10,\r\n right: 10,\r\n height: Ti.UI.SIZE,\r\n backgroundColor: \"white\",\r\n borderSize: 1,\r\n borderRadius: 6\r\n});\r\nwin1.add(view);\r\n\r\nvar label1 = Ti.UI.createLabel(\r\n{\r\n left: 10,\r\n right: 10,\r\n top: 10,\r\n height: Ti.UI.SIZE,\r\n text: \"Address\",\r\n color: \"black\"\r\n});\r\nview.add(label1);\r\n\r\nvar label2 = Ti.UI.createLabel(\r\n{\r\n right: 10,\r\n width: 150,\r\n top: 28,\r\n bottom: 10,\r\n height: Ti.UI.SIZE,\r\n color: \"black\",\r\n text: \"3422 North 2322 West, Amazing City AK 93222, United States of America, The Sol System, The Milky Way\"\r\n});\r\nview.add(label2);\r\n\r\nwin1.open();\r\n{code}", "attachment": [ { "id": "27680", "filename": "2.0.1.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-14T13:01:55.000+0000", "size": 48072, "mimeType": "image/jpeg" }, { "id": "27681", "filename": "2.1.0.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-14T13:01:55.000+0000", "size": 54510, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "iOS: label height of Ti.UI.SIZE doesn't grow to the height of the content", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Product: Mobile\r\nTitanium SDK: Mobile 2.0.1\r\nPlatform OS: iOS\r\nPlatform OS Version: iOS 4.3 & 5", "comment": { "comments": [ { "id": "195551", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This was fixed by TIMOB-8713 and already on master (2.1.0) release.\r\nReopen if it needs to be back ported to 2.0.2.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-21T16:54:12.000+0000", "updated": "2012-05-21T16:54:12.000+0000" }, { "id": "195555", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Please back port in 2.0.x branch. Thanks.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-21T17:14:40.000+0000", "updated": "2012-05-21T17:14:40.000+0000" }, { "id": "195593", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of TIMOB-8713, as stated by Max.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-22T09:54:50.000+0000", "updated": "2012-05-22T09:54:50.000+0000" }, { "id": "195595", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "TIMOB-8713 was marked for 2.0.2 back port.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-22T09:56:16.000+0000", "updated": "2012-05-22T09:56:16.000+0000" }, { "id": "196896", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fix Back ported to 2_0_X by [PR2305|https://github.com/appcelerator/titanium_mobile/pull/2305] and the fix should be available on 2_0_X branch from commit [a43004b8e|https://github.com/appcelerator/titanium_mobile/commit/a43004b8eb830edfb22f8ef21f3d37ac1e6ab9f0]", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-01T14:19:38.000+0000", "updated": "2012-06-01T14:19:38.000+0000" }, { "id": "415082", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:07:11.000+0000", "updated": "2017-03-22T22:07:11.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }