{ "id": "61105", "key": "TIMOB-473", "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": "11205", "name": "0.9.3", "archived": true, "released": true, "releaseDate": "2010-03-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:09.000+0000", "created": "2011-04-15T02:29:55.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:09.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": "{html}

Base UI => Views => Scroll Views => Scroll Views\nDynamic Height

\n

in this test, we have a scroll view with 3 sub views:

\n

1) header view (fixed height)

\n

2) body view (auto height)

\n

3) footer view (fixed height)

\n

in order to display things properly, we would need to set the\ntop of the footer view based on the calculated height of the body\nview. to do this, we need to expose these properties (i.e., the\nactual height and width of a view/control that has specified 'auto'\nfor one or both of these values.

{html}", "attachment": [], "flagged": false, "summary": "expose height and width of views/controls that support auto height/width", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123348", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

i've added x, y, width, height and bounds on view.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:29:55.000+0000", "updated": "2011-04-15T02:29:55.000+0000" }, { "id": "123349", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

i added a size property for all views. this returns a TiRect\nobject which has the properties width, height, x and y.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:29:55.000+0000", "updated": "2011-04-15T02:29:55.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }