Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Ionic Collection-Repeat margin

$
0
0

@Scorchy wrote:

Hello

I recently updated all of my ng-repeats to collection-repeats to improve my performance when viewing alot of items in a list.
I'm happy with the performance increase but I'm not pleased with the way the collection-repeat styles my elements.
My major concern is that the margin-right style seems to be ignored completely yet the left one stays the same. Also I'm forced to set my item-width >50% if I wish to only get a listview which leads to unpleasant views when changing the screen size... (100% is fine if the margin wouldn't get ignored)

Is there a way to force the margin-right style onto the collection repeat? My app is looking way off without it

The screenshots will make the case more clear:


This is the view with the margins (using a ng-repeat)


This is the view with the left margin but not the right margin? (using collection-repeat)
As you can see the view isn't symmetrical and just unpleasant to see

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>