enyo.kind({ name: "Main", kind: "FittableRows", classes: "enyo-fill", components:[ { kind: "Scroller", touch: true, fit: true, horizontal: "hidden", components:[ { kind: "Header", name: "Header" }, { kind: "Carousel", name: "Carousel" }, ]}, { kind: "FixedFooter", name: "Footer"}, ], })The panels inside carousel have different height and i don't want to set a fix height for all panels. When i run the app, all panels are rendered with height = 0 and not the "natural" height.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
enyo.kind({ name:'ContentPanel', components:[ {classes:'wrapper', components:[ ... panels' real components ]} ] });
you can then css style your wrapper the way you like.