{ "id": "104645", "key": "TIMOB-11859", "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": "2012-11-07T18:45:02.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" }, { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:22.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": "h2. Problem\r\n\r\nScenario: A fixed-sized Label and a Ti.UI.FILL-width TextArea in a horizontal layout.\r\n\r\nBug: When the content of the TextField exceeds the width of the TextField by a certain amount, the TextField element is wrapped to the next line, instead of staying in place. This occurs both in the iPhone simulator via Titanium Studio and on my iPhone.\r\n\r\n\r\nh2. Test case\r\n\r\n{code:lang=javascript|title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n\tlayout: 'horizontal'\r\n});\r\n\r\nwin.add(Ti.UI.createLabel({\r\n\twidth: 120,\r\n\ttext: 'Enter text:',\r\n\ttextAlign: Ti.UI.TEXT_ALIGNMENT_RIGHT,\r\n\tbackgroundColor: '#ddd'\r\n}));\r\n\r\nwin.add(Ti.UI.createTextField({\r\n\r\n\t//BUG TextField stretches and repositions with long content\r\n\twidth: Ti.UI.FILL,\r\n\r\n\tborderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED\r\n}));\r\n\r\nwin.open();\r\n{code}\r\n\r\n\r\n", "attachment": [ { "id": "33326", "filename": "textfield1.png", "author": { "name": "kelek", "key": "kelek", "displayName": "Michael McDonald", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-07T18:45:02.000+0000", "size": 79776, "mimeType": "image/png" }, { "id": "33325", "filename": "textfield2.png", "author": { "name": "kelek", "key": "kelek", "displayName": "Michael McDonald", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-07T18:45:02.000+0000", "size": 89788, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: 'Fill' TextField incorrectly resizing and repositioning in 'horizontal' layouts", "creator": { "name": "kelek", "key": "kelek", "displayName": "Michael McDonald", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kelek", "key": "kelek", "displayName": "Michael McDonald", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium 2.1.2 on Titanium SDK 2.1.3.GA\r\niOS 6.0.1 on iPhone 4S", "comment": { "comments": [ { "id": "228485", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed iOS 5.1, TiSDK 2.1.2 GA, 2.1.4 GA, 3.0.0 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-26T19:42:41.000+0000", "updated": "2012-11-26T19:42:41.000+0000" }, { "id": "244087", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-26T08:23:52.000+0000", "updated": "2013-03-26T08:23:52.000+0000" }, { "id": "420447", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I have been able to reproduce this issue with the following environment; \r\niPhone 7 (10.2) \r\nMacOS 10.11.6 (15G31) \r\nStudio 4.9.0.201705021158 \r\nTi SDK 6.1.0.v20170519131839 \r\nAppc NPM 4.2.9 \r\nAppc CLI 6.2.1 \r\nTi CLI 5.0.13 \r\nAlloy 1.9.11 \r\nArrow 2.0.0 \r\nXcode 8.2 (8C38) \r\nNode v4.8.2 \r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-25T17:18:54.000+0000", "updated": "2017-05-25T17:18:54.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }