{
"id": "139095",
"key": "TIMOB-17984",
"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": "18414",
"description": "",
"name": "Release 6.2.0",
"archived": false,
"released": true,
"releaseDate": "2017-09-13"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2017-08-22T23:59:02.000+0000",
"created": "2014-11-05T17:34:55.000+0000",
"priority": {
"name": "Critical",
"id": "1"
},
"labels": [
"TextArea",
"layout",
"size",
"ui",
"ui.view",
"wrap"
],
"versions": [],
"issuelinks": [
{
"id": "55823",
"type": {
"id": "10003",
"name": "Relates",
"inward": "relates to",
"outward": "relates to"
},
"outwardIssue": {
"id": "169561",
"key": "TIMOB-25173",
"fields": {
"summary": "Android: Size/Fill layout conflicts are not handled the same as iOS and Windows",
"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": "Medium",
"id": "3"
},
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
}
}
}
}
],
"assignee": {
"name": "jquick",
"key": "jquick",
"displayName": "Joshua Quick",
"active": true,
"timeZone": "America/Los_Angeles"
},
"updated": "2017-08-22T23:59:23.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": "10202",
"name": "Android",
"description": "Android Platform"
}
],
"description": "Create a view with horizontal layout. Make two siblings (a view, or anything else), and a TextArea set to FILL.\r\n\r\nEnter an amount of text into the TextArea that it must wrap but would not have wrapped if the other sibling wasn't there.\r\n\r\nThe text correctly wraps but the TextArea itself does not adjust height. \r\n\r\nThis is a different symptom but may be related to TC-4810.\r\n\r\nSee example below (tried this on an HTC One, for screen size reference):\r\n\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t \t\r\n\t\t\t \t\r\n\t\t\t\r\n\t\t\t \t\r\n\t\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}",
"attachment": [
{
"id": "52327",
"filename": "Screenshot_2014-11-05-12-25-40.png",
"author": {
"name": "timkellypa",
"key": "timkellypa",
"displayName": "Tim Kelly",
"active": true,
"timeZone": "America/New_York"
},
"created": "2014-11-05T17:34:55.000+0000",
"size": 78602,
"mimeType": "image/png"
}
],
"flagged": false,
"summary": "TextArea set to FILL not wrapping correctly inside a horizontal layout with another sibling",
"creator": {
"name": "timkellypa",
"key": "timkellypa",
"displayName": "Tim Kelly",
"active": true,
"timeZone": "America/New_York"
},
"subtasks": [],
"reporter": {
"name": "timkellypa",
"key": "timkellypa",
"displayName": "Tim Kelly",
"active": true,
"timeZone": "America/New_York"
},
"environment": "Android 4.4.3, HTC One (HTC6500LVW), Titanium 3.4.0.GA",
"closedSprints": [
{
"id": 939,
"state": "closed",
"name": "2017 Sprint 17 SDK",
"startDate": "2017-08-13T23:08:29.095Z",
"endDate": "2017-08-27T23:08:00.000Z",
"completeDate": "2017-08-27T21:10:54.125Z",
"originBoardId": 114
}
],
"comment": {
"comments": [
{
"id": "330985",
"author": {
"name": "sliang",
"key": "sliang",
"displayName": "Shuo Liang",
"active": true,
"timeZone": "Asia/Harbin"
},
"body": "Problem can be reproduced on:\r\nTitanium SDK 3.4.0\r\nSamsung Galaxy Nexus\r\nAndroid 4.2.2\r\n\r\nHere is a simple test code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n fullscreen : true,\r\n title : 'View Test'\r\n});\r\n\r\nvar mainView = Titanium.UI.createView({\r\n width : Ti.UI.FILL,\r\n height : Ti.UI.FILL,\r\n top : '50',\r\n layout : 'horizontal',\r\n});\r\n \r\nwin.add(mainView);\r\n \r\nvar view1 = Ti.UI.createView({\r\n width : \"100dp\",\r\n backgroundColor : \"Red\",\r\n height : \"10dp\"\r\n});\r\nmainView.add(view1);\r\n \r\nvar textArea = Ti.UI.createTextArea({\r\n value : 'abcdefghijklmnopqrstuvwxyzabcde',\r\n backgroundColor : \"Blue\",\r\n height : Ti.UI.SIZE,\r\n width : Ti.UI.FILL,\r\n \r\n});\r\nmainView.add(textArea);\r\n \r\nwin.open();\r\n{code}\r\n\r\nN.B. If I change the textArea value longer, like \"abcdefghijklmnopqrstuvwxvzabcdefghijklmnopqrstuvwxvz\", the wrapping works well.",
"updateAuthor": {
"name": "sliang",
"key": "sliang",
"displayName": "Shuo Liang",
"active": true,
"timeZone": "Asia/Harbin"
},
"created": "2014-11-06T04:20:45.000+0000",
"updated": "2014-11-06T04:20:45.000+0000"
},
{
"id": "427071",
"author": {
"name": "amukherjee",
"key": "amukherjee",
"displayName": "Abir Mukherjee",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Passed FR. PR merged. Changes are seen in SDK versions:\r\n6.2.0.v20170822113609\r\n7.0.0.v20170822142802",
"updateAuthor": {
"name": "amukherjee",
"key": "amukherjee",
"displayName": "Abir Mukherjee",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2017-08-22T23:59:02.000+0000",
"updated": "2017-08-22T23:59:02.000+0000"
}
],
"maxResults": 2,
"total": 2,
"startAt": 0
}
}
}