GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2015-12-27T06:00:57.000+0000 |
Affected Version/s | Appcelerator Studio 4.4.0 |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | windows, windows8.1, windows_phone |
Reporter | Luca Sartori |
Assignee | Sharif AbuDarda |
Created | 2015-12-18T11:08:40.000+0000 |
Updated | 2016-03-08T07:37:09.000+0000 |
When i set Ti.UI.SIZE to components as InputText, ScrollView, Label...the content is truncate.
See pics.
To 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.
To help to reproduce the problem i have attacched the following files:
views/example.xml
styles/example.tss
assets/windows/images/welcome.png
Thank you
Luca
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: 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 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. For more info on the layout and positioning please follow these doc links 1. [Link1](http://docs.appcelerator.com/platform/latest/#!/guide/Layouts,_Positioning,_and_the_View_Hierarchy). 2. [Link2](http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Concepts). Thanks.