My iron-list was some version behind the latest, a bower update fixed my 
problem

Am Samstag, 14. Januar 2017 06:49:01 UTC+1 schrieb skalde...@gmail.com:
>
> Hey guys,
>
> I have a problem with the iron-list component.
> I already posted a question on stackoverflow 
> <http://stackoverflow.com/questions/41609733/iron-list-with-grid-attribute-only-shows-one-item-per-row>,
>  
> but nobody could help me there so far.
>
> My problem is that when I add the 'grid' - attribute to the iron-list 
> element the items still are each in one column.
> I broke my example test code even further down into this:
>
> <body>
>     <p>test test test</p>
>     <div style="height: 500px;">
>         <iron-list id="list" items='[{"name": "test"},{"name": 
> "test"},{"name": "test"},{"name": "test"},{"name": "test"},{"name": 
> "test"},{"name": "test"},{"name": "test"},
>
>                                                     {"name": "test"},{"name": 
> "test"},{"name": "test"},{"name": "test"},{"name": "test"},{"name": 
> "test"},{"name": "test"},{"name": "test"},
>
>                                                     {"name": "test"},{"name": 
> "test"},{"name": "test"},{"name": "test"},{"name": "test"},{"name": 
> "test"},{"name": "test"},{"name": "test"},
>
>                                                     {"name": "test"},{"name": 
> "test"},{"name": "test"},{"name": "test"},{"name": "test"},{"name": 
> "test"},{"name": "test"},{"name": "test"},
>
>                                                     {"name": "test"},{"name": 
> "test"},{"name": "test"},{"name": "test"}]' style="height: 100%;" grid>
>             <template>
>                 <div style="width: 100px; height: 100px;"> 100x100 </div>
>             </template>
>         </iron-list>
>     </div>
> </body>
>
>
> What am I doing wrong? 
>
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/884729dd-aa81-49d9-814f-fd583b64c73e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to