core-layout-grid and flex layout attribute compatibility

86 views
Skip to first unread message

mara...@gmail.com

unread,
Dec 17, 2014, 2:00:03 PM12/17/14
to polym...@googlegroups.com
Has anyone been able to use polymer's core-layout-grid to arrange nodes with no specific height or width? I'm trying to get them to stretch equally to fill up the entire space, and have tried using flex, h-flex, and v-flex, but none of them work, and often some of the nodes are no longer visible on the screen when set with a flex attribute. 

Rob Dodson

unread,
Dec 29, 2014, 9:43:40 PM12/29/14
to mara...@gmail.com, polymer-dev
I don't know how well supported core-layout-grid is at the moment. Depending on the situation, you may be able to accomplish this with layout attributes. Here's an example: http://jsbin.com/qediw/2/edit

On Wed, Dec 17, 2014 at 11:00 AM, <mara...@gmail.com> wrote:
Has anyone been able to use polymer's core-layout-grid to arrange nodes with no specific height or width? I'm trying to get them to stretch equally to fill up the entire space, and have tried using flex, h-flex, and v-flex, but none of them work, and often some of the nodes are no longer visible on the screen when set with a flex attribute. 

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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/1071feea-8496-4ec7-b8b0-a31fdd13e2a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages