{ "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
\nfrom premium support ticket
\nhttp://helpdesk.appcelerator.net/tickets/1743
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).
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.
\nAnother alternative is to use a 'defaultSize' parameter and have\n'fontSize' be 'auto'.
(from [8038bc589a4158e7be132efccdc6e7d8f8155621])\nCloses #690: TiUILabel and TiUITextField now support\n'minimumFontSize'. See ticket for caveats. \nhttp://github.com/appcelerator/titanium_mobile/commit/8038bc589a415...
As always, caveats...
\nSetting minimumFontSize: on a label forces it to fill exactly\none line. This is due to a bug in Apple's UILabel code; we can do\nnothing about it. So it's recommended that this be used\njudiciously.
\nSetting minimumFontSize: and then revoking it by setting\nminimumFontSize = 0 does NOT automagically resize text to its\ninitial size. The font size may, however, be reset by the user. We\ndon't do this for them since it should be assumed that if text was\nautoadjusted to fit in its bounds, they don't want to size it\nlarger so it suddenly goes out of them again.
\n