{ "id": "148952", "key": "AC-169", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-11-11T05:27:28.000+0000", "created": "2015-06-19T03:27:36.000+0000", "labels": [ "3.5.0GA", "3.5.1GA", "android", "font", "textfield" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-11T05:27:28.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Hi I am facing the issue of font in 3.5.0 and 3.5.1 sdk. I have an app developed in 3.1.3 sdk and I have upgraded to 3.5.0, when I upgraded the font in the text field is too small or not visible.\r\nI have given all my images and buttons measurements in percentages and I am facing this font issues when I give \r\n\r\nin tiapp.xml. Though it is deprecated from 3.3.0, all my images and buttons are rightly placed and have correct measures and when I checked my device height and width through console, it gave correct measures.\r\nBut when I remove this density element, all my UI was disturbed but font in the textfield was good and my device width and height was shown increased in the console. \r\nBut when I run the project with 3.3.0sdk or 4.0.0 sdk there are no problems and the font was clear UI was good and my device width and height were correct and I have given the density to \"false\".\r\nI am facing this issue in 3.5.0 sdk and 3.5.1 sdk.\r\n\r\n", "attachment": [ { "id": "55892", "filename": "Screenshot_2015-06-19-08-50-51.png", "author": { "name": "prashaanth", "key": "prashaanth", "displayName": "prashaanth", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-06-19T03:26:52.000+0000", "size": 65149, "mimeType": "image/png" } ], "flagged": false, "summary": "Text is not visible or too small in textfield with 3.5.0 SDK", "creator": { "name": "prashaanth", "key": "prashaanth", "displayName": "prashaanth", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "prashaanth", "key": "prashaanth", "displayName": "prashaanth", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Platform : Android\r\nOS : MAC OSX\r\nTesting device : MOTO G", "comment": { "comments": [ { "id": "363750", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\nTested this issue. It is working as expected. Please try the latest SDKs. \r\n\r\n*Test Environments:*\r\n\r\nCLI Version :4.1.3\r\nTitanium SDK Version:4.1.1.GA,4.1.0.GA,3.50,3.51GA\r\nEmulator :Motorola Moto X - 4.4.4 - API 19 - 720x1280\r\nSumsung Device:SM-T210R (4.4.2)\r\nAppc Studio: Appcelerator Studio, build: 4.1.1.201507141126\r\nAlloy: 1.7.6\r\nMac OS X,Version = 10.10.1\r\n\r\n\r\n*Test Steps:*\r\n\r\n* Create a classic project\r\n* Copy sample app.js to your resource directory.\r\n* Add sample manifest entry to the tiapp.xml.\r\n* Run Project\r\n\r\n\r\n*Test Code:*\r\n\r\napp.js\r\n\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n\r\n title:'Tab 1',\r\n\r\n backgroundColor:'red'\r\n\r\n});\r\n\r\n\r\n\r\n\r\n\r\n// Create a TextField.\r\n\r\nvar aTextField = Ti.UI.createTextField({\r\n\r\nheight : 35,\r\n\r\ntop : 50,\r\n\r\nleft : 40,\r\n\r\nwidth : 240,\r\n\r\nhintText : 'This is hint text',\r\n\r\nsoftKeyboardOnFocus : Ti.UI.Android.SOFT_KEYBOARD_DEFAULT_ON_FOCUS, // Android only\r\n\r\nkeyboardType : Ti.UI.KEYBOARD_DEFAULT,\r\n\r\nreturnKeyType : Ti.UI.RETURNKEY_DEFAULT,\r\n\r\nborderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED\r\n\r\n});\r\n\r\n\r\n\r\n// Listen for return events.\r\n\r\naTextField.addEventListener('return', function(e) {\r\n\r\naTextField.blur();\r\n\r\nalert('Input was: ' + aTextField.value);\r\n\r\n});\r\n\r\n\r\n\r\n// Add to the parent view.\r\n\r\nwin1.add(aTextField);\r\n\r\nwin1.open();\r\n\r\n\r\n{code}\r\n\r\nTiapp.xml\r\n\r\n\r\n{code}\r\n\r\n\r\n\r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n{code}\r\n\r\n*Test Result:*\r\n\r\n Text is properly visible in the text field . [Check |http://tinypic.com/view.php?pic=14tr3p&s=8#.VfZktJ2qqko] this.\r\n\r\n\r\nThanks", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-14T06:22:45.000+0000", "updated": "2015-11-11T05:27:20.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }