[TIMOB-25175] Windows: Ti.UI.SIZE for height of ListView does not work as expected
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-10-16T11:57:40.000+0000 |
Affected Version/s | Release 6.1.0, Release 6.1.2, Release 6.2.0 |
Fix Version/s | Release 6.3.0 |
Components | Windows |
Labels | regression |
Reporter | Neeraj Mishra |
Assignee | Kota Iguchi |
Created | 2017-08-16T00:32:13.000+0000 |
Updated | 2017-10-17T13:01:24.000+0000 |
Description
Descriptiob:
If the height of ListView is specified as Ti.UI.SIZE, it will take the height of one ListItem instead of having the height that fits all its ListItems.
Steps to Replicate:
1. Run the attached Alloy project.
2. Only one ListItem will be visible since the height is set to Ti.UI.SIZE.
Expected Result:
All ListItems should be visible when setting height as Ti.UI.SIZE for ListView.
Attachments
File | Date | Size |
index.js | 2017-08-16T00:30:45.000+0000 | 308 |
index.tss | 2017-08-16T00:30:54.000+0000 | 155 |
index.xml | 2017-08-16T00:31:24.000+0000 | 381 |
https://github.com/appcelerator/titanium_mobile_windows/pull/1084
Cherry-pick for 6_2_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1093
[~nmishra] This fix will be included in 6.2.0
Thanks [~eharris] for confirming.
Verified in 6.2.0.GA and 7.0.0.v20170912234515
It seems depending on device screen size (and default Window size at launch on desktop) this still doesn't resize well. re-opening this.
https://github.com/appcelerator/titanium_mobile_windows/pull/1119
6_3_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1122
Verified in 7.0.0.v20171017022901 and 6.3.0.v20171016053946. Closing ticket