{ "id": "159875", "key": "TIMOB-23335", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-05-09T19:10:26.000+0000", "created": "2016-04-28T17:56:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.4.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2016-06-27T17:53: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": "SDK 5.4.0.v20160426000033\r\n\r\nSetting fontSize on a TextField in Windows Phone does not work, it keeps the default size no matter what is set.\r\n\r\nSee example:\r\n\r\nindex.xml\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n\r\nindex.tss\r\n{code}\r\n'#number':{\r\n\tfont: {\r\n\t\tfontSize: 50\r\n\t}\r\n}\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "Windows: Support font property on Ti.UI.TextField", "creator": { "name": "jonasbjurhult", "key": "jonasbjurhult", "displayName": "Jonas Bjurhult", "active": true, "timeZone": "Europe/Stockholm" }, "subtasks": [], "reporter": { "name": "jonasbjurhult", "key": "jonasbjurhult", "displayName": "Jonas Bjurhult", "active": true, "timeZone": "Europe/Stockholm" }, "environment": null, "closedSprints": [ { "id": 627, "state": "closed", "name": "2016 Sprint 10 SDK", "startDate": "2016-05-07T00:43:56.954Z", "endDate": "2016-05-21T00:43:00.000Z", "completeDate": "2016-05-23T02:06:04.349Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "384236", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Can you define the fontSize as \r\n\r\n{code}\r\n\"#number\": {\r\n\tfont: {\r\n\t\tfontSize: 50\r\n\t}\r\n}\r\n{code}\r\n\r\nUse \" instead of '.\r\n\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-04-28T18:19:22.000+0000", "updated": "2016-04-28T18:49:55.000+0000" }, { "id": "384238", "author": { "name": "jonasbjurhult", "key": "jonasbjurhult", "displayName": "Jonas Bjurhult", "active": true, "timeZone": "Europe/Stockholm" }, "body": "Hi,\r\n\r\nI tried changing ' to \" in my tss but it does not fix the problem", "updateAuthor": { "name": "jonasbjurhult", "key": "jonasbjurhult", "displayName": "Jonas Bjurhult", "active": true, "timeZone": "Europe/Stockholm" }, "created": "2016-04-28T18:27:13.000+0000", "updated": "2016-04-28T18:27:13.000+0000" }, { "id": "384243", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Can you try changing to your SDK to a GA version for building the app. Use the latest one 5.2.2.GA.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-04-28T18:52:04.000+0000", "updated": "2016-04-28T18:52:04.000+0000" }, { "id": "384246", "author": { "name": "jonasbjurhult", "key": "jonasbjurhult", "displayName": "Jonas Bjurhult", "active": true, "timeZone": "Europe/Stockholm" }, "body": "Same result for 5.2.2.GA, i.e still not working", "updateAuthor": { "name": "jonasbjurhult", "key": "jonasbjurhult", "displayName": "Jonas Bjurhult", "active": true, "timeZone": "Europe/Stockholm" }, "created": "2016-04-28T19:36:47.000+0000", "updated": "2016-04-28T19:36:47.000+0000" }, { "id": "384427", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\nI am able to reproduce this issue with given code and given steps. Setting {{fontSize}} on a {{TextField}} on Windows Phone does not work. I tried setting {{fontSize: 50}} and {{fontSize: 75}} but it keeps the default size.\r\n\r\nThanks\r\n\r\n*Environment*:\r\n\r\n*Device info:* Microsoft Lumia640 (Windows Phone 8.1)\r\n*Node.js Version:* 0.12.7\r\n*npm Version:* 2.11.3\r\n*Titanium SDKs:* 5.2.2.GA and 5.4.0.v20160429102159\r\n*Java Development Kit Version:* 1.8.0_73\r\n*Titanium CLI Version:* 5.0.5\r\n*Appcelerator CLI Version:* 5.2.2\r\n*Appcelerator Studio:* 4.5.0\r\n\r\n", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-05-02T06:24:14.000+0000", "updated": "2016-05-02T06:24:14.000+0000" }, { "id": "385139", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "We currently do not support the font property on Ti.UI.TextField at all (there's a TODO sitting right in the code...). So it's not just the font size that won't work.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-05-09T14:11:49.000+0000", "updated": "2016-05-09T14:11:49.000+0000" }, { "id": "385140", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/677", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-05-09T14:21:15.000+0000", "updated": "2016-05-09T14:21:15.000+0000" }, { "id": "389144", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed {{fontSize}} property is now supported for Ti.UI.TextField on windows. Additionally, {{fontWeight}} is also supported.\r\n\r\nTested on: \r\nWindows 10 Pro \r\nWindows Phone 10.0 (Microsoft Lumia 640 LTE) \r\nAppc Studio: 4.7.0.201606220541\r\nTi SDK: 5.4.0.v20160617074028\r\nAppc NPM: 4.2.7-2\r\nAppc Core: 5.4.0-18\r\nNode: v4.4.4\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-27T17:52:50.000+0000", "updated": "2016-06-27T17:52:50.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }