{ "id": "61322", "key": "TIMOB-690", "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": "11223", "name": "Release 1.3.0", "archived": true, "released": true, "releaseDate": "2010-05-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:56.000+0000", "created": "2011-04-15T02:34:33.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:56.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 wonder if this is really just fontSize:'auto' for us on the JS\nAPI side

\n

from premium support ticket
\nhttp://helpdesk.appcelerator.net/tickets/1743

{html}", "attachment": [], "flagged": false, "summary": "add support for adjustsFontSizeToFitWidth to text field", "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": "123826", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Will implement as 'fontSize:auto' but this could be misleading\nunder some circumstances (for example, I have no idea if table row\nviews would resize their fonts).

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:34.000+0000", "updated": "2011-04-15T02:34:34.000+0000" }, { "id": "123827", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Actually, brief correction. Because fonts should always have a\ndefault size (in order to calculate the bounding\nbox/truncation/etc.) this will be implemented on a font object as\nan 'allowsResizing' property.

\n

Another alternative is to use a 'defaultSize' parameter and have\n'fontSize' be 'auto'.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:34.000+0000", "updated": "2011-04-15T02:34:34.000+0000" }, { "id": "123828", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [8038bc589a4158e7be132efccdc6e7d8f8155621])\nCloses #690: TiUILabel and TiUITextField now support\n'minimumFontSize'. See ticket for caveats. \nhttp://github.com/appcelerator/titanium_mobile/commit/8038bc589a415...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:34.000+0000", "updated": "2011-04-15T02:34:34.000+0000" }, { "id": "123829", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

As always, caveats...

\n
{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:34.000+0000", "updated": "2011-04-15T02:34:34.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }