Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25175] Windows: Ti.UI.SIZE for height of ListView does not work as expected

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-10-16T11:57:40.000+0000
Affected Version/sRelease 6.1.0, Release 6.1.2, Release 6.2.0
Fix Version/sRelease 6.3.0
ComponentsWindows
Labelsregression
ReporterNeeraj Mishra
AssigneeKota Iguchi
Created2017-08-16T00:32:13.000+0000
Updated2017-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

FileDateSize
index.js2017-08-16T00:30:45.000+0000308
index.tss2017-08-16T00:30:54.000+0000155
index.xml2017-08-16T00:31:24.000+0000381

Comments

  1. Kota Iguchi 2017-08-29

    https://github.com/appcelerator/titanium_mobile_windows/pull/1084
  2. Kota Iguchi 2017-09-05

    Cherry-pick for 6_2_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1093
  3. Ewan Harris 2017-09-06

    [~nmishra] This fix will be included in 6.2.0
  4. Neeraj Mishra 2017-09-06

    Thanks [~eharris] for confirming.
  5. Ewan Harris 2017-09-14

    Verified in 6.2.0.GA and 7.0.0.v20170912234515
  6. Kota Iguchi 2017-09-26

    It seems depending on device screen size (and default Window size at launch on desktop) this still doesn't resize well. re-opening this.
  7. Kota Iguchi 2017-09-27

    https://github.com/appcelerator/titanium_mobile_windows/pull/1119
  8. Kota Iguchi 2017-09-27

    6_3_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1122
  9. Ewan Harris 2017-10-17

    Verified in 7.0.0.v20171017022901 and 6.3.0.v20171016053946. Closing ticket

JSON Source