{ "id": "93605", "key": "TIMOB-9853", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2013-02-21T14:02:04.000+0000", "created": "2012-06-21T07:20:39.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "exalture", "look1" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-29T16:09:25.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h4.Problem description\r\nThe hintText property of TextField doesn't display the hint text at all if the textAlign property is set to 'right'.\r\n\r\n- Broken on Android v2.3.3\r\n- Works on Android ICS\r\n- Works on Android if the textAlign property is not specified or set to 'left'.\r\n\r\nh4. Steps to reproduce\r\nIn the following example, the left TextField shows the hintText properly. The right TextField should also show hintText of \"Hinted\", but does not.\r\n{panel:title=app.js}{noformat}\r\nvar TheWindow=Ti.UI.createWindow({\r\n layout:'horizontal',\r\n backgroundColor:'gray',\r\n exitOnClose:true,\r\n navBarHidden:true\r\n });\r\n\r\nvar LeftEdit=Ti.UI.createTextField({textAlign:'left',\r\n left:30, \r\n hintText:'Hinted'});\r\nTheWindow.add(LeftEdit);\r\nvar RightEdit=Ti.UI.createTextField({textAlign:'right',\r\n left:100,\r\n hintText:'Hinted'});\r\nTheWindow.add(RightEdit);\r\n\r\nTheWindow.open();\r\n{noformat}{panel}\r\n", "attachment": [], "flagged": false, "summary": "Android: hintText doesn't show in a TextField when textAlign is 'right'", "creator": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "- Android 2.2\r\n- Titanium Mobile SDK 2.1.0\r\n", "comment": { "comments": [ { "id": "201045", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "The issue is not present using Android ICS (tested on 4.0.3). The hint text is displayed correctly on that device, while it is missing with Android 2.3.x\r\n\r\n", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-07-02T06:28:38.000+0000", "updated": "2012-07-02T06:28:38.000+0000" }, { "id": "201050", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "Notes to myself for testing: the problem does not exist in iOS; SimpleProject is the name of the test project on my machine.", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-07-02T06:37:42.000+0000", "updated": "2012-07-02T06:37:42.000+0000" }, { "id": "239003", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "This looks like an Android SDK bug.\n\nhttp://code.google.com/p/android/issues/detail?id=13895", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-02-20T09:54:46.000+0000", "updated": "2013-02-20T09:54:46.000+0000" }, { "id": "239225", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "This is an Android SDK Bug.\r\nSee the notes", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-02-21T14:02:04.000+0000", "updated": "2013-02-21T14:02:04.000+0000" }, { "id": "416156", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T16:09:25.000+0000", "updated": "2017-03-29T16:09:25.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }