{ "id": "159877", "key": "TIMOB-23334", "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": "2016-06-07T15:12:20.000+0000", "created": "2016-04-28T18:12:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T18:54: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": "The hinttext is always aligned to the left\r\n\r\nSDK 5.4.0.v20160426000033", "attachment": [], "flagged": false, "summary": "Windows: Ti.UI.TextField textAlign does not affect hintText", "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": 641, "state": "closed", "name": "2016 Sprint 12 SDK", "startDate": "2016-06-04T00:30:28.612Z", "endDate": "2016-06-18T00:30:00.000Z", "completeDate": "2016-06-20T04:25:16.065Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "384424", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\nI am able to reproduce this issue. {{Ti.UI.TextField}} {{textAlign}} does not affect {{hintText}} on Windows Phone but on Android it works as expected.\r\n\r\n*Steps:*\r\n1. Create a default classic project.\r\n2. Replace app.js code with following.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar textField = Ti.UI.createTextField({\r\n\tborderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n\tcolor : '#336699',\r\n\ttop : 10,\r\n\tleft : 10,\r\n\twidth : 250,\r\n\theight : 60,\r\n\thintText : \"HINT\",\r\n\ttextAlign : Titanium.UI.TEXT_ALIGNMENT_RIGHT\r\n});\r\n\r\nwin.add(textField);\r\nwin.open(); \r\n{code}\r\n3. Build and run the app on Windows Phone device. >> It is seen that hint text is aligned to left.\r\n4. Write something on the test field. >> It is seen that text is aligned to right as it should be.\r\n\r\nThanks\r\n\r\n\r\n*Environment*:\r\n\r\n*Device info:* Nexus7 (android 6.0.1) , 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.2.1.GA\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", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-05-02T05:47:24.000+0000", "updated": "2016-05-11T04:44:42.000+0000" }, { "id": "385142", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I think this may actually be a limitation/bug in Windows itself. We set the TextAlignment property or else the normal text would align as you defined. It may just be that Windows ignore the alignment for it's PlaceholderText property...", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-05-09T14:40:35.000+0000", "updated": "2016-05-09T14:40:35.000+0000" }, { "id": "387674", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, this is a limitation of Windows; {{PlaceholderText}} ignores the {{TextAlignment}} property. There doesn't seem to be a workaround either.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-06T18:53:37.000+0000", "updated": "2016-06-06T18:53:37.000+0000" }, { "id": "387760", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Unfortunately this appears to be a limitation of Windows OS.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-06-07T15:12:20.000+0000", "updated": "2016-06-07T15:12:20.000+0000" }, { "id": "415707", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket with reference to the previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:54:36.000+0000", "updated": "2017-03-24T18:54:36.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }