{ "id": "92829", "key": "TIMOB-9385", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "89809", "key": "TIMOB-8673", "fields": { "summary": "Ti API: Horizontal Layout Modes do not match.", "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": "6", "description": "gh.issue.epic.desc", "name": "Epic", "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": "13404", "description": "Sprint 2012-12 Core", "name": "Sprint 2012-12 Core", "archived": true, "released": true, "releaseDate": "2012-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-18T12:37:27.000+0000", "created": "2012-06-05T13:20:17.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "layout", "look1", "parity" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "17644", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "92830", "key": "TIMOB-9386", "fields": { "summary": "Android: Implement conditional horizontal layout wrapping", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } }, { "id": "17663", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "80204", "key": "TIMOB-5266", "fields": { "summary": "iOS: Flow Layout", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T22:52:30.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": "*horizontalWrap:boolean* property will control warp/no-wrap (default is true)\r\n\r\n// all color boxes should be contained within one row (no wrapping)\r\n{code}\r\nvar win = Ti.UI.createWindow({ fullscreen: true, backgroundColor: 'white'});\r\n \r\nvar parent = Ti.UI.createView({backgroundColor:'red',layout:'horizontal', horizontalWrap: false, width:Ti.UI.SIZE, height:300})\r\n \r\nvar child1 =Ti.UI.createView({backgroundColor:'green',height:60,width:130});\r\nvar child2 =Ti.UI.createView({backgroundColor:'blue',height:120,width:170});\r\nvar child3 =Ti.UI.createView({backgroundColor:'#eee',height:120,width:50});\r\nvar child4 =Ti.UI.createView({backgroundColor:'#666',height:60,width:50});\r\n \r\nparent.add(child1);\r\nparent.add(child2);\r\nparent.add(child3);\r\nparent.add(child4);\r\n \r\nwin.add(parent);\r\nwin.open();\r\n\r\nTi.API.info(\"Default HorizonalWrap is \"+child1.horizontalWrap);\r\nTi.API.info(\"HorizonalWrap for parent is \"+parent.horizontalWrap);\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Implement conditional horizontal layout wrapping", "creator": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "198096", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR pending https://github.com/appcelerator/titanium_mobile/pull/2369", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-11T16:29:00.000+0000", "updated": "2012-06-11T16:29:00.000+0000" }, { "id": "413435", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T22:52:30.000+0000", "updated": "2017-03-16T22:52:30.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }