{ "id": "174508", "key": "TIMOB-27640", "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": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2020-06-30T14:39:01.000+0000", "created": "2019-12-03T08:43:41.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "engSchedule" ], "versions": [ { "id": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" } ], "issuelinks": [ { "id": "57977", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "174495", "key": "TIMOB-27638", "fields": { "summary": "Windows app fonts become small when titanium sdk version changed from 7.0.2.GA to 8.2.1 GA", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "57975", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "174495", "key": "TIMOB-27638", "fields": { "summary": "Windows app fonts become small when titanium sdk version changed from 7.0.2.GA to 8.2.1 GA", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2020-06-30T14:39:01.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Setting {{fontSize}} with unit specifier for {{Font}} shows smaller fonts. It also could end up throwing runtime exception when display information is not provided by Windows. We might want to just \"ignore\" unit specifier in order to keep parity between iOS.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'green',\r\n layout: 'vertical',\r\n title: 'Label Demo'\r\n});\r\n\r\nvar label1 = Ti.UI.createLabel({\r\n color: '#900',\r\n font: { fontSize: '48dp' },\r\n text: 'A simple label',\r\n top: 30,\r\n width: Ti.UI.SIZE, height: Ti.UI.SIZE\r\n});\r\n\r\nvar label2 = Ti.UI.createLabel({\r\n color: '#900',\r\n font: { fontSize: 48 },\r\n text: 'A simple label',\r\n width: Ti.UI.SIZE, height: Ti.UI.SIZE\r\n});\r\n\r\nwin.add(label1);\r\nwin.add(label2);\r\nwin.open();\r\n{code}\r\n\r\nExpected: Both Labels should be shown with same font size {{48}}.\r\n", "attachment": [], "flagged": false, "summary": "Windows: unit specifier for fontSize should be ignored ", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1172, "state": "closed", "name": "2019 Sprint 25", "startDate": "2019-12-02T23:08:39.644Z", "endDate": "2019-12-15T23:08:00.000Z", "completeDate": "2019-12-16T05:54:54.518Z", "originBoardId": 114 }, { "id": 1175, "state": "closed", "name": "2019 Sprint 26", "startDate": "2019-12-16T06:12:12.044Z", "endDate": "2019-12-21T06:12:00.000Z", "completeDate": "2019-12-22T03:07:15.802Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "453018", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1440", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-12-04T04:49:29.000+0000", "updated": "2019-12-04T04:49:29.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }