{ "id": "137870", "key": "TIMOB-17832", "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": null, "resolutiondate": null, "created": "2014-10-09T15:36:37.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [ { "id": "42035", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "132171", "key": "ALOY-1089", "fields": { "summary": "Alloy support for Windows toolbar[] attribute", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:03:53.000+0000", "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" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "If you include a text field in a window.toolbar control, when the user types text into that field, the field enlarges and shifts to the right. It should not. I found this while implementing ALOY-1089. However, the following classic code demonstrates the same issue.\r\n\r\n{code}\r\nvar send = Titanium.UI.createButton({\r\n title: 'Send',\r\n style: Titanium.UI.iPhone.SystemButtonStyle.DONE,\r\n});\r\n\r\nvar cancel = Titanium.UI.createButton({\r\n systemButton: Titanium.UI.iPhone.SystemButton.CANCEL\r\n});\r\n\r\nvar textField = Ti.UI.createTextField({\r\n borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n width: 150\r\n});\r\n\r\nflexSpace = Titanium.UI.createButton({\r\n systemButton:Titanium.UI.iPhone.SystemButton.FLEXIBLE_SPACE\r\n});\r\n\r\nvar toolbar = Titanium.UI.iOS.createToolbar({\r\n items:[flexSpace, textField, flexSpace, send, flexSpace, cancel, flexSpace],\r\n bottom:0,\r\n borderTop:true,\r\n borderBottom:false\r\n}); \r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'red',\r\n toolbar: toolbar\r\n});\r\nwin.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: Window.toolbar -- text field shifts to the right upon text entry", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }