-
12 Sep 2012 3:00 PM #1
2.1.0-beta3: List items no longer positioned horizontally. They are always vertical.
2.1.0-beta3: List items no longer positioned horizontally. They are always vertical.
REQUIRED INFORMATION
Ext version tested:- 2.1.0-beta3
- Safari 5.1.7
- Chrome 21.0.1180.89
- HTML
Horizontal lists (Ext.List) do not expand to full width of their container. Setting inline: { wrap: false } should create a list, where the items are arranged and scrolled horizontally. This functionality is working correctly in 2.0.1.1. However, in 2.1.0-beta3, the list items are always arranged vertically.
Ext.List is a subclass of DataView. If I change the extend value from Ext.List to Ext.DataView, the items all of a sudden will position correctly, that is, horizontally. But not, if i extend from Ext.List. See screenshots below.
Steps to reproduce the problem:- Create a list extending from Ext.List
- config: inline: { wrap: false }, scrollable: { direction: 'horizontal', directionLock: true }
- The list will wrap vertically and not horizontally.
- Now keep everything, but change extend to Ext.DataView. The list will scroll horizontally.
- List items should be arranged and scrolled horizontally
- List items are wrapping vertically
Screenshot or Video:
Using 2.0.1.1, list items correctly positioned and scrolled horizontally
hlist-2011.jpg
Using 2.1.0-beta3, list items ignore inline/wrap config and positioned vertically
hlist-beta3.jpg
Operating System:- Win 7 x64
-
12 Sep 2012 3:37 PM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
Will look into it, though I believe you may need to use a DataView to do this instead of a List.
-
1 Oct 2012 10:53 PM #3
So if you encourage us to use the DataView instead of List for the purpose of displaying items inline, are there any plans to adapt the Pullrefresh plugin so that it works together with the DataView?
That would be most helpful.
Michael
-
9 Dec 2012 2:58 AM #4
I hope that this get fixed and not delegate to a dataview, since some time we may need horizontal List, with selectable items.
-
9 Dec 2012 3:29 AM #5
Yes, unfortunately the only solution I found is to change my list to a dataview.
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote