{ "id": "100614", "key": "TIMOB-10812", "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": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14126", "description": "Sprint 2012-19 Core", "name": "Sprint 2012-19 Core", "archived": true, "released": true, "releaseDate": "2012-09-24" }, { "id": "14271", "description": "2012 Sprint 19", "name": "2012 Sprint 19", "archived": true, "released": true, "releaseDate": "2012-09-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-14T16:22:36.000+0000", "created": "2012-09-07T13:43:52.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "module_view", "qe-testadded", "regression" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "20755", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "100550", "key": "TIMOB-10795", "fields": { "summary": "Android: Ti.UI.SIZE on a view does not work with layout property set", "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": "20982", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "100745", "key": "TIMOB-10832", "fields": { "summary": "Android: Picker by default is not centered in 2.1.2 Build (regression issue)", "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": "21055", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "100583", "key": "TIMOB-10858", "fields": { "summary": "Android: horizontalWrap:false does not work well with horizontal views nested into a vertical view", "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": "20664", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "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": "2012-10-26T22:45:43.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 case: \r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'white' });\r\nvar view = Ti.UI.createView({ width: Ti.UI.SIZE, height: 30, layout: 'horizontal', backgroundColor: 'red' });\r\nview.add(Ti.UI.createLabel({ text: 'Hello', height: 30, top: 0, color: 'white' }));\r\nview.add(Ti.UI.createLabel({ text: 'From Titanium', height: 30, top: 0, color: 'blue', left: 5 }));\r\nwin.add(view);\r\nwin.open();\r\n{code}\r\n\r\nThe red view's width should not be size of the screen. This was a regression caused by TIMOB-10003.", "attachment": [], "flagged": false, "summary": "Android: Ti.UI.SIZE on width does not work with horizontal layouts", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "218159", "author": { "name": "echampet", "key": "echampet", "displayName": "Etienne Champetier", "active": true, "timeZone": "Europe/Berlin" }, "body": "In TiCompositeLayout.java, if i initialize enableHorizontalWrap to false (instead of true), i get the correct behavior !!!", "updateAuthor": { "name": "echampet", "key": "echampet", "displayName": "Etienne Champetier", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-10T07:08:26.000+0000", "updated": "2012-09-10T07:08:26.000+0000" }, { "id": "218161", "author": { "name": "echampet", "key": "echampet", "displayName": "Etienne Champetier", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "echampet", "key": "echampet", "displayName": "Etienne Champetier", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-10T07:19:58.000+0000", "updated": "2012-09-10T07:23:54.000+0000" }, { "id": "218337", "author": { "name": "echampet", "key": "echampet", "displayName": "Etienne Champetier", "active": true, "timeZone": "Europe/Berlin" }, "body": "If you add horizontalWrap:false to the view it work", "updateAuthor": { "name": "echampet", "key": "echampet", "displayName": "Etienne Champetier", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-11T02:13:13.000+0000", "updated": "2012-09-11T06:24:25.000+0000" }, { "id": "218647", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/2911", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-12T09:46:07.000+0000", "updated": "2012-09-12T09:46:07.000+0000" }, { "id": "218964", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\r\nSDK:3.0.0.v20120913145712\r\nStudio: 2.1.2.201208301612\r\nDevices:Android emulator, iOS simulator.", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T04:10:29.000+0000", "updated": "2012-09-14T04:10:29.000+0000" }, { "id": "219006", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Backport PR: https://github.com/appcelerator/titanium_mobile/pull/2947", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T10:19:02.000+0000", "updated": "2012-09-14T10:19:02.000+0000" }, { "id": "219107", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening to edit fixVersion", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-14T16:22:05.000+0000", "updated": "2012-09-14T16:22:05.000+0000" }, { "id": "219358", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on:\r\nOS: Mac OS X Lion 10.7.4 \r\nTitanium Studio, build: 2.1.2.201208301612\r\nTitanium SDK, build: 2.1.3.v20120915120319\r\nxCode 4.5 GM seed\r\nDevices: Nexus 7 (4.1.1), iPhone Simulator (6.0)\r\n\r\nThe red view does not fill the screen by width.", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-17T15:01:57.000+0000", "updated": "2012-09-17T15:01:57.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }