{ "id": "122973", "key": "TIMOB-15880", "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": "15715", "description": "2013 Sprint 25", "name": "2013 Sprint 25", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15716", "description": "2013 Sprint 25 API", "name": "2013 Sprint 25 API", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-06T21:14:24.000+0000", "created": "2013-11-27T00:24:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios", "label", "module_label", "qe-testadded", "regression", "triage" ], "versions": [], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-21T11:19:24.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": "h4. Description\r\nminimumFontSize doesn't work on Ti 3.2.x\r\n\r\nh4. Reproduce steps\r\n1. create mobile project (not alloy)\r\n2. copy below source to app.js\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'white'\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n top : 100,\r\n width : 300,\r\n height : 300,\r\n font : {\r\n fontSize: 100\r\n },\r\n borderColor : 'red',\r\n minimumFontSize : 10,\r\n text : 'This text shold be small.'\r\n});\r\n\r\nwin.add(label);\r\nwin.open();\r\n{code}\r\n3. run in ios simulator\r\n\r\nh4. Actual result:\r\nthe label content is limited to a single line.\r\nThere is no font size scaling.\r\n\r\nh4. Respected result:\r\nminimumFontSize property enable font scaling to fit and forces the label content to be limited to a single line.\r\n", "attachment": [ { "id": "44272", "filename": "iOS Simulator Screen shot Nov 29, 2013 3.17.46 PM.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-11-29T09:20:48.000+0000", "size": 24951, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Label minimumFontSize broken", "creator": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "subtasks": [], "reporter": { "name": "yomybaby", "key": "yomybaby", "displayName": "Jong Eun Lee", "active": true, "timeZone": "Asia/Tokyo" }, "environment": "3.2.0.v20131125114848\r\niOS 7.0 Simulator\r\nOSX 10.8.5", "comment": { "comments": [ { "id": "282928", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending against master\r\nhttps://github.com/appcelerator/titanium_mobile/pull/5087\r\nBackport to 3_2_X\r\nhttps://github.com/appcelerator/titanium_mobile/pull/5088", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-06T19:32:57.000+0000", "updated": "2013-12-06T19:35:56.000+0000" }, { "id": "282943", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Merged into master and 3.2.x", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-06T21:14:24.000+0000", "updated": "2013-12-06T21:14:24.000+0000" }, { "id": "283171", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Label minimumFontSize is working fine,so closing the issue.\r\n\r\nVerified fix on:\r\nDevice : iPhone 5s , iOS version : 7.0.2, iOS simulator: 7.0.3\r\nSDK: 3.2.0.v20131208204843\r\nCLI version : 3.2.0-beta\r\nOS : MAC OSX 10.9\r\nAlloy: 1.3.0-beta\r\nACS: 1.0.10\r\nAppcelerator Studio, build: 3.2.0.201312052211\r\ntitanium-code-processor: 1.1.0-beta\r\nXCode : 5.0.2", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-09T07:02:00.000+0000", "updated": "2013-12-09T07:02:00.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }