{ "id": "153802", "key": "AC-1591", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-12-14T08:59:34.000+0000", "created": "2015-12-12T12:44:45.000+0000", "labels": [ "windows", "windows8.1", "windows_phone" ], "versions": [ { "id": "17035", "name": "Appcelerator Studio 4.4.0", "archived": false, "released": false } ], "issuelinks": [ { "id": "50152", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "153945", "key": "AC-862", "fields": { "summary": "Window: Setting the height to Ti.UI.SIZE does not fit to content", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:38:04.000+0000", "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" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When i set Ti.UI.SIZE to components as InputText, ScrollView, Label...the content is truncate.\r\nSee pics.\r\nTo view the content correctly i must explicit set the height. But in dynamic element as ScrollView if i change the height programmaticaly the windows not refresh the new layout height. ", "attachment": [ { "id": "57786", "filename": "example.tss", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-15T20:49:54.000+0000", "size": 1397, "mimeType": "application/octet-stream" }, { "id": "57785", "filename": "example.xml", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-15T20:49:54.000+0000", "size": 1166, "mimeType": "text/xml" }, { "id": "57760", "filename": "screen_android.jpg", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-12T12:44:31.000+0000", "size": 61219, "mimeType": "image/jpeg" }, { "id": "57759", "filename": "screen_windows.jpg", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-12T12:44:31.000+0000", "size": 36500, "mimeType": "image/jpeg" }, { "id": "57784", "filename": "welcome.png", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-15T20:50:53.000+0000", "size": 48447, "mimeType": "image/png" } ], "flagged": false, "summary": "Window: Setting the height to Ti.UI.SIZE does not fit to content", "creator": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "environment": "OS: Windows 8.1 Pro \r\nVisual Studio: 2013 Update 4 \r\nAppcelerator Studio: 4.4.0 \r\nTitanium SDK: 5.1.1.GA", "comment": { "comments": [ { "id": "372770", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nIt would be helpful to get a test case that demonstrates this problem. We have not been able to reproduce this issue on our end.\r\n\r\nSample test case that we tried:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\nvar view=Ti.UI.createView({\r\n\theight:100,\r\n\twidth:200,\r\n\tbackgroundColor:\"red\"\r\n});\r\nvar label1 = Ti.UI.createLabel({\r\n color: '#900',\r\n text: 'A simple label, focus to to view is the label text is truncated',\r\n width: Ti.UI.SIZE, \r\n height: Ti.UI.SIZE\r\n});\r\nview.add(label1);\r\nwin.add(view);\r\nwin.open();\r\n{code}\r\n\r\n*Testing Environment:*\r\nOperating System\r\n Name = Microsoft Windows 8.1 Enterprise\r\n Version = 6.3.9600\r\n Architecture = 32bit\r\n CPUs = 4\r\n Memory = 3.9GB\r\n\r\nNode.js\r\n Node.js Version = 0.12.7\r\n npm Version = 2.11.3\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.2\r\n Core Package = 5.1.0\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.5\r\n node-appc Version = 0.2.31\r\n\r\nJava Development Kit Version = 1.7.0_80\r\n\r\nThanks.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-12-13T09:47:41.000+0000", "updated": "2015-12-14T08:59:16.000+0000" }, { "id": "373028", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "body": "To help to reproduce the problem i have attacched the following files:\r\n\r\nviews/example.xml\r\nstyles/example.tss\r\nassets/windows/images/welcome.png\r\n\r\nThank you\r\n\r\nLuca", "updateAuthor": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-15T20:52:29.000+0000", "updated": "2015-12-15T20:52:29.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }