{ "id": "61758", "key": "TIMOB-1126", "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": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T02:44:46.000+0000", "created": "2011-04-15T02:44:45.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "adjustsfontsizetofitwidth", "defect", "ios", "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T19:21:52.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}

See this ticket for the thread. The font only shrinks twice and\nthen stops, even when a minimum size is set.

\n

http://helpdesk.appcelerator.net/tickets/3018

{html}", "attachment": [], "flagged": false, "summary": "adjustsFontSizeToFitWidth not working correctly", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124913", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This is how minimumFontSize (which is the only property you need\nto set; see the documentation) is supposed to work. Font sizing\ndoes not occur except at supported font size values, and scaling\nwill depend upon what the initial font size and what the minimum\nfont size are.

\n

I will leave this ticket open until I can read the helpdesk\nticket to ensure that there should be two font size steps and then\ninvalidate.

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

Checked KS -> Controls -> Text Field -> The Rest font\nresizing. This resizes in 4 steps, which is appropriate (14 ->\n12 -> 10 -> 8) and means that font resizing works as\nexpected. It may also be that their label/field width is so large\n(or small) that an appropriate number of font resizes will not take\nplace. This is dependent on the internal system and not something\nwe have control over.

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

It is worth pointing out that fontSize:'auto' is\nmeaningless. You need to specify an initial font size.\nadjustsFontSizeToFitWidth is also meaningless,\nspecifying a minimum font size automatically turns on font size\nwidth adjustment.

\n

Again, see the documentation.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:44:46.000+0000", "updated": "2011-04-15T02:44:46.000+0000" }, { "id": "408437", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T19:21:52.000+0000", "updated": "2017-03-02T19:21:52.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }