{ "id": "98139", "key": "TIMOB-10173", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-07-31T17:02:43.000+0000", "created": "2012-07-26T16:21:11.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "layout", "look1" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "19575", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "91845", "key": "TIMOB-10003", "fields": { "summary": "Android: Ti.UI.SIZE does not work well with nested views", "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": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T23:01:53.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": "Run the test code below. Only the first 3 buttons are seen instead of all 5\r\nTest Code\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white',\r\n\tlayout:'vertical'\r\n})\r\nvar theFont = {fontSize: 12};\r\n\r\n\r\nfunction createControls(){\r\n\tvar controls1 = Ti.UI.createView({\r\n\t\theight:Ti.UI.SIZE,\r\n\t\tlayout:'horizontal',\r\n\t\tbottom:5,\r\n\t\thorizontalWrap:true\r\n\t})\r\n\tvar b1 = Ti.UI.createButton({title:'imageAsResized',font:theFont,right:5,bottom:5});\r\n\tvar b2 = Ti.UI.createButton({title:'imageWithTransparentBorder',font:theFont,right:5,bottom:5});\r\n\tvar b3 = Ti.UI.createButton({title:'imageAsCropped',font:theFont,right:5,bottom:5});\r\n\tvar b4 = Ti.UI.createButton({title:'imageWithRoundedCorner',font:theFont,right:5,bottom:5});\r\n\tvar b5 = Ti.UI.createButton({title:'imageAsThumnail',font:theFont,right:5,bottom:5});\r\n\tcontrols1.add(b1);\r\n\tcontrols1.add(b2);\r\n\tcontrols1.add(b3);\r\n\tcontrols1.add(b4);\r\n\tcontrols1.add(b5);\r\n\t\r\n\treturn controls1;\r\n}\r\n\r\nwin.add(createControls());\r\n\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Horizontal Layout inside Vertical Layout does not wrap content correctly", "creator": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "210897", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This seems to be a duplicate of TIMOB-10003, and should be resolved by https://github.com/appcelerator/titanium_mobile/pull/2663", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-31T17:02:34.000+0000", "updated": "2012-07-31T17:02:34.000+0000" }, { "id": "414654", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T23:01:53.000+0000", "updated": "2017-03-21T23:01:53.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }