{ "id": "160808", "key": "AC-3746", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2016-06-14T05:05:16.000+0000", "created": "2016-06-06T12:38:03.000+0000", "labels": [ "8.1", "AES", "alloy", "font" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-14T10:03:53.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": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "The font size of appcelerator app is not compatible with windows phone font size,\r\nas for the normal font size the app works fine but once I change the text size of font through settings, the app screens gets scrumbled up terribly.\r\n\r\nI am attaching the app screens before and after changing the font size.\r\n\r\nPlease help.", "attachment": [ { "id": "59504", "filename": "after.png", "author": { "name": "paramsb", "key": "paramsb", "displayName": "Parmeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-06T12:36:28.000+0000", "size": 222069, "mimeType": "image/png" }, { "id": "59505", "filename": "before.png", "author": { "name": "paramsb", "key": "paramsb", "displayName": "Parmeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-06T12:36:25.000+0000", "size": 89752, "mimeType": "image/png" } ], "flagged": false, "summary": "Font size not compatible with windows phone font size", "creator": { "name": "paramsb", "key": "paramsb", "displayName": "Parmeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "paramsb", "key": "paramsb", "displayName": "Parmeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "\r\nSDK 5.2.0.GA \r\n OS : Windows phone 8.1 \r\n Device : Microsoft Lumia 435 \r\n ", "comment": { "comments": [ { "id": "387924", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~paramsb],\r\nThanks for reaching out. The issue you have mentioned need to be reproduced in our environment so that we are able to give you workaround. So, please share with us your test code and mention step to reproduce the issue.\r\n\r\nThanks in advance for your effort ", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-06-09T07:37:50.000+0000", "updated": "2016-06-09T07:37:50.000+0000" }, { "id": "388277", "author": { "name": "paramsb", "key": "paramsb", "displayName": "Parmeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Nazmus,\r\n\r\nI am adding a sample code please check.\r\n\r\nSteps to reproduce : \r\n1 : Create new project in Appcelerator Studio.\r\n2 : Copy below files to index.js, index.tss, index.xml\r\n3 : run.\r\n4 : Go to emulators (device) settings -> Ease of access -> Increase text size.\r\n5 : Navigate to app again.\r\n\r\n\r\n************************************* index.js **********************************************\r\nvar data = [];\r\nvar tableData = [];\r\n\r\nvar row = Ti.UI.createTableViewRow({\r\n\theight : '120dp'\r\n\t//height : '155dp'\r\n});\r\n\r\n\r\n\r\nvar container = Ti.UI.createView({\r\n\tleft : \"20%\",\r\n\tlayout : \"vertical\"\r\n});\r\n\r\nvar title = Ti.UI.createLabel({\r\n\ttext : \"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\",\r\n\tfont : {\r\n\t\tfontFamily : \"Century Gothic\",\r\n\t\tfontWeight : \"Bold\",\r\n\t\tfontSize : \"18dp\"\r\n\t},\r\n\tcolor : \"#d01227\",\r\n\tleft : '0%',\r\n\twidth : '90%',\r\n\t//height : Ti.UI.SIZE,\r\n\theight : '36dp',\r\n\t//height : '50dp',\r\n\ttop : \"10dp\"\r\n});\r\n\r\nvar sentTo = Ti.UI.createLabel({\r\n\ttext : \"Sent to: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. \" ,\r\n\twordWrap : true,\r\n\tfont : {\r\n\t\tfontFamily : \"Century Gothic\",\r\n\t\tfontWeight : \"Normal\",\r\n\t\tfontSize : \"14dp\"\r\n\t},\r\n\tcolor : \"#999999\",\r\n\ttop : '5dp',\r\n\tleft : '0dp',\r\n\twidth : '90%',\r\n\t//height : '17dp',\r\n\theight : '16dp',\r\n});\r\n\r\nvar date = Ti.UI.createLabel({\r\n\ttext : \"10/11/12\",\r\n\twordWrap : true,\r\n\tfont : {\r\n\t\tfontFamily : \"Century Gothic\",\r\n\t\tfontWeight : \"Normal\",\r\n\t\tfontSize : \"14dp\"\r\n\t},\r\n\tcolor : \"#999999\",\r\n\ttop : '6dp',\r\n\tleft : '0dp'\r\n});\r\nvar border = Ti.UI.createView({\r\n\theight : \"2dp\",\r\n\ttop : \"115dp\",\r\n\t//top : \"150dp\",\r\n\tbackgroundColor : \"red\",\r\n\twidth : \"80%\"\r\n});\r\n\r\nvar commentCount = Ti.UI.createLabel({\r\n\ttext : \"10 comments\",\r\n\twordWrap : true,\r\n\tcolor : \"#999999\",\r\n\t//backgroundColor:\"cyan\",\r\n\tbottom : '10%',\r\n\tright : '10%',\r\n\t//top : '6dp',\r\n\tfont : {\r\n\t\tfontFamily : \"Century Gothic\",\r\n\t\tfontWeight : \"Normal\",\r\n\t\tfontSize : \"14dp\"\r\n\t}\r\n});\r\n//Ti.API.info(\"listtimeline2\");\r\ncontainer.add(title);\r\ncontainer.add(sentTo);\r\ncontainer.add(date);\r\nrow.add(container);\r\nrow.add(border);\r\nrow.add(commentCount);\r\ntableData.push(row);\r\n$.table.data = tableData;\r\n$.timelineWindow.open();\r\n\r\n///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n********************************************** index.xml ***********************************************************\r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\r\n\t\t\r\n\t\r\n\r\n\r\n\r\n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n******************************************************** index.tss *********************************************************************\r\n\r\n\r\n\r\n\r\n'ListView':{\r\n\tseparatorColor: \"transparent\",\r\n\tbackgroundColor: \"#fdf7ed\"\r\n},\r\n\r\n\".border\":{\r\n\theight: '2dp',\r\n\twidth: '90%',\r\n\tbackgroundColor: '#d01227 ',\r\n\ttop: '5dp'\r\n},\r\n\r\n\".groupView\":{\r\n\t//height: '20%',\r\n\theight: Ti.UI.SIZE,\r\n\t//width: \"100%\",\r\n\twidth: \"95%\",\r\n\t//top: \"10%\"\r\n},\r\n\r\n\".countBar\": {\r\n\theight: '50%',\r\n\ttop: '2dp',\r\n\t//new\r\n\twidth: \"95%\",\r\n},\r\n\r\n/*\r\n\".name\":{\r\nfont: {\r\nfontFamily: \"Century Gothic\",\r\nfontWeight: \"Bold\",\r\nfontSize: \"27sp\"\r\n},\r\ncolor: \"red\",\r\nleft: '0dp',\r\n//width: '90%',\r\nwidth: Titanium.UI.SIZE,\r\ntop: \"0dp\",\r\nbackgroundColor:\"pink\"\r\n},*/\r\n\r\n\r\n\".name\":{\r\n\tfont: {\r\n\t\tfontFamily: \"Century Gothic\",\r\n\t\tfontWeight: \"Bold\",\r\n\t\tfontSize: \"18dp\"\r\n\t},\r\n\tcolor: \"#d01227\",\r\n\tleft: '0%',\r\n\twidth: '70%',\r\n\theight: Titanium.UI.SIZE,\r\n\ttop: \"0dp\"\r\n},\r\n\r\n\".info\":{\r\n\r\n\tfont: {\r\n\t\tfontFamily: \"Century Gothic\",\r\n\t\tfontWeight: \"Normal\",\r\n\t\tfontSize: \"14sp\"\r\n\t},\r\n\tcolor: \"#999999\",\r\n\ttop: '3dp',\r\n\tleft: '0dp',\r\n\twidth: '70%'\r\n},\r\n\r\n\".comments\": {\r\n\tfont: {\r\n\t\tfontFamily: \"Century Gothic\",\r\n\t\tfontWeight: \"Bold\",\r\n\t\tfontSize: \"16sp\"\r\n\t},\r\n\tcolor: \"#3b3b3b\",\r\n\ttop: \"0dp\",\r\n\twidth: '90%'\r\n},\r\n\r\n\".date\": {\r\n\tfont: {\r\n\t\tfontFamily: \"Century Gothic\",\r\n\t\tfontWeight: \"Normal\",\r\n\t\tfontSize: \"14sp\"\r\n\t},\r\n\tcolor: \"#999999\"\r\n},\r\n\r\n\r\n\".parentView\": {\r\n\tleft: '0%',\r\n\ttop: \"10%\",\r\n\theight: \"95%\",\r\n\twidth: '100%'\r\n}\r\n\r\n\".parentView2\": {\r\n\tleft: '20%',\r\n\ttop: '20dp',\r\n\theight: Ti.UI.SIZE,\r\n\twidth: Ti.UI.SIZE\r\n}\r\n\r\n\".commentView\": {\r\n\tright: '5%',\r\n\ttop: '35%',\r\n\twidth: Ti.UI.SIZE,\r\n\theight: Ti.UI.SIZE,\r\n\tborderWidth: \"1dp\"\r\n},\r\n\r\n\".messagePic\":{\r\n\twidth: \"45dp\",\r\n\theight: \"45dp\",\r\n\timage: \"images/icons/homeScreenIcons/ViewResponses.png\",\r\n\tleft: \"5%\",\r\n\ttop: \"10dp\"\r\n}\r\n\".innerView\": {\r\n\tleft: '15dp',\r\n\ttop: '20dp',\r\n\theight: \"20%\"\r\n},\r\n\r\n\"#commentArea\": {\r\n\twidth: \"70%\",\r\n\ttop: \"0dp\",\r\n\t//height: \"60%\",\r\n\tbackgroundColor: \"white\",\r\n\thintText: \"Write a Comment...\",\r\n\tleft: \"17%\",\r\n\tborderColor: \"#808080\",\r\n\tborderWidth: \"3dp\",\r\n\tcolor: \"#000000\",\r\n\tfont: {\r\n\t\tfontFamily: \"Century Gothic\",\r\n\t\tfontWeight: \"Normal\",\r\n\t\tfontSize: \"16sp\"\r\n\t}\r\n},\r\n\r\n\r\n\r\n\r\n\".profileIcon\": {\r\n\timage: \"images/icons/profileGrey.png\",\r\n\twidth: \"35dp\",\r\n\theight: \"35dp\",\r\n\tleft: \"5%\",\r\n\ttop: \"0dp\"\r\n},\r\n\r\n'ItemTemplate': {\r\n\tbackgroundColor: \"#fdf7ed\"\r\n},\r\n\r\n\".greyProfileIcon\": {\r\n\timage: \"images/icons/profileGrey.png\",\r\n\twidth: \"35dp\",\r\n\theight: \"35dp\",\r\n\tleft: \"5%\",\r\n\ttop: \"2%\"\r\n}\r\n\r\n\".commentName\":{\r\n\tfont: {\r\n\t\tfontFamily: \"Century Gothic\",\r\n\t\tfontWeight: \"Bold\",\r\n\t\tfontSize: \"16sp\"\r\n\t},\r\n\t//color: \"#2c3439\",\r\n\tcolor: \"black\",\r\n\ttop: '0%',\r\n\tleft: '5dp'\r\n},\r\n\r\n\".actualComment\":{\r\n\r\n\tfont: {\r\n\t\tfontFamily: \"Century Gothic\",\r\n\t\tfontWeight: \"Normal\",\r\n\t\tfontSize: \"14sp\"\r\n\t},\r\n\tcolor: \"#2c3439\",\r\n\t//color : \"red\",\r\n\tleft: '5dp',\r\n\ttop: \"0%\",\r\n\twidth: \"90%\"\r\n},\r\n\r\n\r\n\".cDate\": {\r\n\tfont: {\r\n\t\tfontFamily: \"Century Gothic\",\r\n\t\tfontWeight: \"Normal\",\r\n\t\tfontSize: \"13sp\"\r\n\t},\r\n\tcolor: \"#3b3b3b\"\r\n},\r\n\r\n\".cTime\":{\r\n\tfont: {\r\n\t\tfontFamily: \"Century Gothic\",\r\n\t\tfontWeight: \"Normal\",\r\n\t\tfontSize: \"13sp\"\r\n\t},\r\n\tcolor: \"#3b3b3b\",\r\n\tleft: \"5%\"\r\n},\r\n\r\n\".dateView\": {\r\n\theight: Ti.UI.SIZE,\r\n\tlayout: \"horizontal\",\r\n\ttop: \"5dp\",\r\n\tleft: \"5dp\",\r\n\tbottom: \"5dp\"\r\n}\r\n\r\n\".innerView\": {\r\n\theight: Ti.UI.SIZE\r\n}\r\n\r\n\r\n\r\n\".commentBlock\":{\r\n\tlayout: \"vertical\",\r\n\theight: Ti.UI.SIZE,\r\n\twidth: \"75%\",\r\n\tleft: \"17%\",\r\n\ttop: \"5dp\"\r\n}\r\n\r\n\".countBar\": {\r\n\theight: Ti.UI.SIZE,\r\n\ttop: '2dp'\r\n},\r\n\r\n", "updateAuthor": { "name": "paramsb", "key": "paramsb", "displayName": "Parmeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-14T10:03:53.000+0000", "updated": "2016-06-14T10:03:53.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }