{ "id": "108802", "key": "TIMOB-12481", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15096", "description": "2013 Sprint 04 BB", "name": "2013 Sprint 04 BB", "archived": true, "released": true, "releaseDate": "2013-02-25" }, { "id": "14814", "description": "2013 Sprint 04", "name": "2013 Sprint 04", "archived": true, "released": true, "releaseDate": "2013-02-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-02-12T22:54:41.000+0000", "created": "2013-01-29T21:27:31.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "25286", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "108698", "key": "TIMOB-12468", "fields": { "summary": "Blackberry : Not able to see any controls with the sdk having the layout engine. ", "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": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-02-13T01:23:38.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "If a parent view using vertical layout has a child that \"fills\" the parent,\r\nthe layout breaks and nothing seems to get properly computed.\r\n\r\nh3. Test\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({layout:'vertical'});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\ttext: 'Type some stuff...',\r\n\twidth: '75%', height: 50\r\n});\r\nwin.add(label);\r\n\r\nvar textField = Ti.UI.createTextField({\r\n\twidth: '75%', height: 75\r\n});\r\nwin.add(textField);\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttitle: 'Click, me!',\r\n\twidth: '75%', height: 100\r\n});\r\nwin.add(button);\r\n\r\n// Not exlicitly setting a height causing layout to break here.\r\n// The height should be computed to fill the rest of the parent's height.\r\nvar view = Ti.UI.createView({\r\n\tbackgroundColor: 'red'\r\n});\r\nwin.add(view);\r\n\r\nwin.open();\r\n{code}\r\n\r\nExpected: The red view should fill the remaining height of the parent.\r\nActual: None of the views get computed correctly causing nothing to show up.\r\n", "attachment": [], "flagged": false, "summary": "BlackBerry: Vertical layout breaks when trying to fill child", "creator": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 9, "state": "closed", "name": "2013 Sprint 03 BB", "startDate": "2013-02-04T19:45:09.855Z", "endDate": "2013-02-11T19:44:09.855Z", "completeDate": "2013-04-19T16:42:34.551Z" } ], "comment": { "comments": [ { "id": "238302", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the issue by running the attached code & seeing the expected results\r\n\r\nEnvironment:\r\nTi Studio : 3.1.0.201302101654\r\nTi BB SDK : 3.1.0.v20130212145409\r\nMac OSX : 10.8.2\r\nwin 7 64 bit\r\nWin 8 \r\nBB simulator : 10.0.9.386", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-13T01:23:38.000+0000", "updated": "2013-02-13T01:23:38.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }