Hi,
I’m using collection-repeat for the first time, to loop through a set of over 3000 records. The performance is amazing. The issue I have is that each item does not fit the full width of the view.
I’m displaying a set of names, and each name may have a different number of characters. This causes each item in the list to be a different width. Here’s how I’ve set up my view:
<ion-content>
<div class="list">
<a class="item item-icon-right" collection-repeat="item in items" collection-item-height="'54'" collection-item-width="'100%'" href="#/tab/contactDetails">
{{item.f}} {{item.s}} {{item.$index}}
<i class="icon ion-chevron-right icon-accessory"></i>
</a>
</div>
</ion-content>
I’ve set the collection-item-width to be 100%, but this doesn’t set the items width to be the full width of the view.
Anyone know what I’m missing?
Thanks
Stephen