{ "id": "153945", "key": "AC-862", "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-27T06:00:57.000+0000", "created": "2015-12-18T11:08:40.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" }, "outwardIssue": { "id": "153802", "key": "AC-1591", "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": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-08T07:37:09.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. \r\n\r\nTo help to reproduce the problem i have attacched the following files:\r\nviews/example.xml \r\nstyles/example.tss \r\nassets/windows/images/welcome.png\r\nThank you\r\nLuca", "attachment": [ { "id": "57815", "filename": "example.tss", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-18T11:10:35.000+0000", "size": 1397, "mimeType": "application/octet-stream" }, { "id": "57814", "filename": "example.xml", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-18T11:10:35.000+0000", "size": 1166, "mimeType": "text/xml" }, { "id": "57813", "filename": "screen_android.jpg", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-18T11:10:36.000+0000", "size": 61219, "mimeType": "image/jpeg" }, { "id": "57812", "filename": "screen_windows.jpg", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-18T11:10:36.000+0000", "size": 36500, "mimeType": "image/jpeg" }, { "id": "57811", "filename": "welcome.png", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-18T11:10:36.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": "373381", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, label has a default SIZE behavior. So you don't need to SIZE the width. In the case of ScrollView, contentWidth and contentHeight may also be set to \"auto\" or Ti.UI.SIZE, and in those cases, this is the expected behavior:\r\n\r\n 1. When all children views have FILL behavior, the content area of the scroll view will be clipped to the physical size of the scroll view\r\n\r\n 2. Otherwise, the content area will grow according to the bottom offset of the bottom-most View and the right offset of right-most View. In some cases the bottom-most and right-most View may be the same View.\r\n\r\nFor more info on the layout and positioning please follow these doc links\r\n\r\n1. [Link1|http://docs.appcelerator.com/platform/latest/#!/guide/Layouts,_Positioning,_and_the_View_Hierarchy].\r\n2. [Link2|http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Concepts].\r\n\r\nThanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-12-22T09:17:18.000+0000", "updated": "2015-12-22T09:17:18.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }