{ "id": "63240", "key": "TIMOB-2608", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-07-26T12:52:47.000+0000", "created": "2011-04-15T03:24:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "19337", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-26T21:37:11.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}

I have an TableView that I have customized to include an image\nleft of the text (much like the kitchensink app TableView layout\n2). I created this table in 1.4.2 and it was working fine. On\ndownload of 1.5.0 and subsequently 1.5.1 i noticed the graphical\nbehavior displayed in the first attachement.

\n

Switching back to 1.4.2 shows the expected behavior (2nd\nscreenshot).

\n

Code snippet:

\n
\nvar profileImage = Titanium.UI.createImageView({
\n
\n\n\n
\n
\n
\n        image: '../images/species/'+result.fieldByName('profileImage'),\n        borderRadius: 5,\n        height: 'auto',\n        width: 80,\n        top: 5,\n        left: 5\n        });</code>\n
\n
\n\n\n
\n
\n

Note: This image is being resized from its original\ndimensions

\n

Interestingly enough, when removing the height property - the\nexpected behavior returns.

\n

iPhone SDK version: 4.1
\nTitanium Mobile SDK: 1.5.0, 1.5.1

{html}", "attachment": [ { "id": "18176", "filename": "screen-shot-2010-12-17-at-93624-am.png", "author": { "name": "bert", "key": "bert", "displayName": "Bert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:24:40.000+0000", "size": 56608, "mimeType": "image/png" }, { "id": "18177", "filename": "screen-shot-2010-12-17-at-94721-am.png", "author": { "name": "bert", "key": "bert", "displayName": "Bert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:24:40.000+0000", "size": 58126, "mimeType": "image/png" } ], "flagged": false, "summary": "Adding an ImageView with height attribute set to 'auto' to a TableRowView causing weird graphical behavior", "creator": { "name": "bert", "key": "bert", "displayName": "Bert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bert", "key": "bert", "displayName": "Bert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "209711", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "# Requires *complete* & valid test case\r\n\r\nTicket can be reopened when this is provided.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T12:52:47.000+0000", "updated": "2012-07-26T12:52:47.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }