Secnah Touch 2.1: Setting height on List items in Ext.dataview.list dynamically
I have reverted to using the xtype Ext.dataview.List for displaying a list of stories in my app due to the fact that PullRefresh Support for DataViews has been pulled in Sencha Touch 2.1.
With the rewriting of the inner working of Ext.List they have added a new itemHeight variable to control the height of the list item, but this is unsuitable in my case because I need each list item to stretch to the correct height according to the content within it.
Is this supported and if so, how can I do it? Trying also to figure out if I can do this in CSS.
try the lists 'variable heights' property. new in 2.1
That's correct, you can read more about variableHeights here:
Tags for this Thread