NitrOuS
25 Nov 2010, 3:45 AM
I have a list shown in my application. the following code is its configuration:
var list = new Ext.List({
fullscreen: true,
singleSelect: true,
itemTpl : '<strong>{Name}</strong><br/><small>{Address}</small>',
layout: Ext.is.Phone? 'fit': undefined,
grouped : true,
indexBar: true,
});
Using this configuration a strange thing happens. When I first enter this screen the list items don't wrap correctly. When I change the orientation on my iPhone to landscape and then back to portrait the wrap is done with the right way. Am I doing something wrong? Thanks in advance for your time
var list = new Ext.List({
fullscreen: true,
singleSelect: true,
itemTpl : '<strong>{Name}</strong><br/><small>{Address}</small>',
layout: Ext.is.Phone? 'fit': undefined,
grouped : true,
indexBar: true,
});
Using this configuration a strange thing happens. When I first enter this screen the list items don't wrap correctly. When I change the orientation on my iPhone to landscape and then back to portrait the wrap is done with the right way. Am I doing something wrong? Thanks in advance for your time