Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Fixed width, dynamic number of columns

$
0
0

Is there a way to have a dynamic number of columns with a relatively fixed with in Ionic? Say you have N columns that are approximately 200px each. On an iPhone in portrait, you would be able to show 3 before breaking. On an iPhone in landscape, you would be able to show 5. From the docs, it seems to assume that you either break all columns into rows at a certain width, or you force all columns into a percentage of screen space. But sometimes you might know the column is X width, and want to display as many as possible, and I don't see a way to do so.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



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