{ "id": "132575", "key": "TIMOB-17505", "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": null, "resolutiondate": null, "created": "2014-07-03T13:17:17.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "defect", "ios" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:26.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5. Problem Description\r\n The minimumFontSize of a text label below 4 does not work.\r\nIf we use the minimumFontSize 4 or more its working perfectly.\r\n\r\nh5. TESTING ENVIRONMENT:\r\nTitanium SDK: 3.2.3.GA and 3.3.0.GA\r\nTitanium CLI: 3.3.0\r\nOS X Version: 10.9.3\r\nIOS Simulator: 7.1\r\nAndroid API Level: 19\r\n \r\nh5. TEST CODE:\r\n \r\n{code:title=Index.xml}\r\n\r\n\r\n\r\n\r\n\r\n\r\n {code}\r\n\r\n{code:title=Index.tss}\r\n\".container\": {\r\nbackgroundColor: \"white\"\r\n},\r\n\"Label\": {\r\ntext: \"This text does resize\",\r\nleft: 15,\r\ntop: 100,\r\nwidth: 200,\r\nheight: 50,\r\nfont:{\r\nfontSize: 50\r\n},\r\nminimumFontSize: 4,\r\nbackgroundColor: \"#FFFFFF\"\r\n} ,\r\n\".label1\": {\r\ntext: \"This text does not resize\",\r\nleft: 15,\r\ntop: 200,\r\nwidth: 200,\r\nheight: 50,\r\nfont:{\r\nfontSize: 50\r\n},\r\nminimumFontSize: 2,\r\nbackgroundColor: \"#FFFFFF\"\r\n}\r\n{code}\r\n\r\n{code:title=Index.js}\r\n\r\n$.index.open();\r\n{code}\r\n \r\n \r\nh5. STEPS TO REPRODUCE:\r\n- Create a simple Alloy project.\r\n- Update this code in index.xml and index.tss .\r\n- Run this with testing environment.\r\n \r\nh5. TESTING RESULT:\r\n \r\nThe first Label does resize where the minimumFontSize:4 but the second Label does not resize where the minimumFontSize:2 .\r\n", "attachment": [], "flagged": false, "summary": "iOS: minimumFontSize does not work below a certain size", "creator": { "name": "R.Fyffe", "key": "r.fyffe", "displayName": "Richard Fyffe", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "R.Fyffe", "key": "r.fyffe", "displayName": "Richard Fyffe", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.2.3\r\nBuild: 3.2.3.201404181442\r\nDevice: iPhone Retina (3.5 inch)", "comment": { "comments": [ { "id": "318897", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Thanks for your report! The engineering team will set the priority on this issue. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-15T18:06:54.000+0000", "updated": "2014-08-15T18:06:54.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }