{ "id": "84776", "key": "TIMOB-7125", "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": "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-18T15:23:34.000+0000", "created": "2012-01-11T17:16:52.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "core", "module_views", "qe-testadded" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "14528", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "80205", "key": "TIMOB-5267", "fields": { "summary": "Android: 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 } } } }, { "id": "17562", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "92294", "key": "TIMOB-9226", "fields": { "summary": "Android: Review composite layout feature requests", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-11T10:58:08.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": "h2. Problem\r\n\r\nIncorrect left padding for first child using horizontal layout. See attached screenshot.\r\n\r\nh2. Test case\r\n\r\n{code:lang=javascript|title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n title:'Window 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar view = Ti.UI.createView({\r\n layout: 'horizontal'\r\n});\r\n\r\nfor(var x=0;x<10;x++){\r\n var subview = Ti.UI.createButton({\r\n top: 10,\r\n left: 10,\r\n width: 100,\r\n height: 100,\r\n title: 'Test'\r\n });\r\n view.add(subview);\r\n}\r\n\r\nwin.add(view);\r\nwin.open();\r\n{code}\r\n", "attachment": [ { "id": "25024", "filename": "screenshot_467.png", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-12T04:26:26.000+0000", "size": 39159, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: UI - Incorrect left padding for first child using horizontal layout", "creator": { "name": "lukino2000", "key": "lukino2000", "displayName": "Luca Borghini", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lukino2000", "key": "lukino2000", "displayName": "Luca Borghini", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* Titanium 1.8.0.1\r\n* Android 2.2\r\n* MAC OSX 10.7\r\n* Titanium Studio 1.0.7.201112281340\r\n", "comment": { "comments": [ { "id": "179018", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Hi Luca.\r\n\r\n\r\nYou missed to mention couple of things, check this:\r\nhttps://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist\r\nhttps://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template\r\n\r\n \r\nI can confirm strange behavior.\r\nAlso, \"navbar\" covers part of top buttons.\r\n\r\n\r\n\r\nPaul, I don't know is layout behavior explained in layout specification because it's not available to all users in Wiki. Could that be changed?\r\n\r\n\r\nThanks.", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-01-12T01:17:16.000+0000", "updated": "2012-01-12T01:17:16.000+0000" }, { "id": "179022", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Luca\r\n\r\nHave you tested this on iOS? Is there the same behavior?\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-12T04:27:43.000+0000", "updated": "2012-01-12T04:27:43.000+0000" }, { "id": "179023", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for pointing Luca to those guides, Ivan - hopefully Luca will read them before opening another ticket. ;)\r\n\r\nWhich layout specification do you mean? Have you seen one specifically, or are you suggesting there ought to be one? If you know of one that exists, please would you provide a link?\r\n\r\nMany thanks\r\n\r\n", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-12T04:30:23.000+0000", "updated": "2012-01-12T04:30:23.000+0000" }, { "id": "179024", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "http://wiki.appcelerator.org/display/spe/UI+Layout+API+Spec\r\n\r\n\r\nI can't see what content it contains, but it would be nice to have layout specification so users can know what to expect when they combine different layout properties.", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-01-12T04:35:34.000+0000", "updated": "2012-01-12T04:35:34.000+0000" }, { "id": "179027", "author": { "name": "lukino2000", "key": "lukino2000", "displayName": "Luca Borghini", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\n\r\nthanks for pointing me to the jira guide! next time i will follow it!\r\n\r\nPaul, just a note, the error is starting from second row. The first row seems correct.\r\nI tested it on IPAD and IPAD simulator and the behavior is not present.", "updateAuthor": { "name": "lukino2000", "key": "lukino2000", "displayName": "Luca Borghini", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-12T04:45:03.000+0000", "updated": "2012-01-12T04:45:03.000+0000" }, { "id": "198865", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Allen, I believe you may have addressed this already in PR 2368.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-17T23:54:44.000+0000", "updated": "2012-06-17T23:54:44.000+0000" }, { "id": "198992", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified to be fixed by PR https://github.com/appcelerator/titanium_mobile/pull/2368", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-18T15:23:34.000+0000", "updated": "2012-06-18T15:23:34.000+0000" }, { "id": "200436", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix with \r\n\r\nTitanium Studio, build: 2.1.0.201206251749\r\nTitanium SDK: 2.1.0.v20120626104306\r\n\r\nDevice: LG VS910 4G/ 2.3.6", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-26T16:05:05.000+0000", "updated": "2012-06-26T16:05:05.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }