{ "id": "171567", "key": "TIMOB-25989", "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": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-05-20T17:51:23.000+0000", "created": "2018-04-25T04:04:32.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" } ], "issuelinks": [ { "id": "56472", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "171563", "key": "TIMOB-25986", "fields": { "summary": "Windows: Physical pixel as a unit in views and fonts is not working", "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": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-06-18T15:17:36.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": "Changing unit specifier for font size does not change font size.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'green',\r\n});\r\n\r\nvar view1 = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n top: 10, left: 10,\r\n width: '50', height: '50'\r\n});\r\nvar label1 = Ti.UI.createLabel({\r\n text: 'DEF',\r\n font: {\r\n fontSize: '18'\r\n }\r\n});\r\nview1.add(label1);\r\n\r\nvar view2 = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n top: 70, left: 10,\r\n width: '50px', height: '50px'\r\n});\r\nvar label2 = Ti.UI.createLabel({\r\n text: 'PX',\r\n font: {\r\n fontSize: '18px'\r\n }\r\n});\r\nview2.add(label2);\r\n\r\nvar view3 = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n top: 130, left: 10,\r\n width: '50dp', height: '50dp'\r\n});\r\nvar label3 = Ti.UI.createLabel({\r\n text: 'DP',\r\n font: {\r\n fontSize: '18dp'\r\n }\r\n});\r\nview3.add(label3);\r\n\r\nvar view4 = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n top: 200, left: 10,\r\n width: '50dip', height: '50dip'\r\n});\r\nvar label4 = Ti.UI.createLabel({\r\n text: 'DIP',\r\n font: {\r\n fontSize: '18dip'\r\n }\r\n});\r\nview4.add(label4);\r\n\r\nvar view5 = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n top: 270, left: 10,\r\n width: '50pt', height: '50pt'\r\n});\r\nvar label5= Ti.UI.createLabel({\r\n text: 'PT',\r\n font: {\r\n fontSize: '18pt'\r\n }\r\n});\r\nview5.add(label5);\r\n\r\nwin.add(view1);\r\nwin.add(view2);\r\nwin.add(view3);\r\nwin.add(view4);\r\nwin.add(view5);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: Unit specifier is ignored for font size", "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": 1035, "state": "closed", "name": "2018 Sprint 11 SDK", "startDate": "2018-05-20T20:57:43.542Z", "endDate": "2018-06-03T20:57:00.000Z", "completeDate": "2018-06-04T15:13:14.425Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "437131", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1231", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-04-25T04:07:07.000+0000", "updated": "2018-04-25T04:07:07.000+0000" }, { "id": "438475", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket. Fix can be seen in SDK Version: 7.3.0.v20180618062809\r\n\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile_windows/pull/1231", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-18T15:17:27.000+0000", "updated": "2018-06-18T15:17:27.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }