{ "id": "150033", "key": "TIMOB-19294", "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": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-08-18T23:14:45.000+0000", "created": "2015-07-30T23:11:55.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity" ], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [ { "id": "48554", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "150106", "key": "TIDOC-2268", "fields": { "summary": "Tutorial Series: Customize for Windows", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-08-20T00:46:21.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": "REPRODUCTION:\r\nRun the code below in the Windows emulator.\r\n\r\nRESULTS:\r\nThe first textfield is positioned correctly but does not stretch across to the right side of the display.\r\n\r\nIf you comment out adding the second textfield and run the code again, the first textfield does not appear at all.\r\n\r\nOTHER INFO:\r\nOn Android and iOS, the textfield would extend across the display from left 10 to right 10.\r\n\r\n{noformat}\r\nvar win = Ti.UI.createWindow({layout: 'vertical'});\r\nvar tf1 = Ti.UI.createTextField({\r\n\tleft: 10,\r\n\tright: 10,\r\n\thintText: 'blah blah blah'\r\n});\r\nwin.add(tf1);\r\nvar tf2 = Ti.UI.createTextField({\r\n\twidth: 100,\r\n\thintText: 'yada yada yada'\r\n});\r\nwin.add(tf2);\r\nwin.open();\r\n{noformat}", "attachment": [ { "id": "56297", "filename": "android_textfield.PNG", "author": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-30T23:11:53.000+0000", "size": 62289, "mimeType": "image/png" }, { "id": "56298", "filename": "windows_textfield.PNG", "author": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-30T23:03:31.000+0000", "size": 10241, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: Setting both left and right properties on a TextField has unexpected behavior", "creator": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 4.1.0.GA, 4.2.0.v20150730093157\r\nStudio 4.1.1.GA\r\nCLI 4.1.1.GA\r\nWindows Pro 8.1", "closedSprints": [ { "id": 482, "state": "closed", "name": "2015 Sprint 17 Windows", "startDate": "2015-08-15T04:01:00.000Z", "endDate": "2015-08-29T03:59:00.000Z", "completeDate": "2015-08-28T13:51:24.221Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "360144", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/406", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-18T01:59:12.000+0000", "updated": "2015-08-18T01:59:12.000+0000" }, { "id": "360430", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nClosing\r\n\r\nEnvironment:\r\nAppc Studio: 5.0.0.v20150819140421\r\nTi SDK: 5.0.0.v20150819140421\r\nTi CLI: 4.1.4\r\nAlloy: 1.6.2\r\nWindows: 8.1 Enterprise 64-bit\r\nAPPC NPM: 4.2.0-1\r\nAPPC CLI: 5.0.0-3\r\nNode : v0.10.37\r\nDevice: Nokia Lumia 928 - Windows Phone 8.1\r\nWindows emulator : 8.1.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-20T00:46:15.000+0000", "updated": "2015-08-20T00:46:15.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }