Re: [FlexJS] Group container

2017-03-09 Thread yishayw
S. It seems to me theming in FlexJS should be pretty easy, regardless of whether or not we're using CSS for layouts. You can always swap the layout bead (and view beads for that matter) in your CSS. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Gro

Re: [FlexJS] Group container

2017-03-07 Thread Alex Harui
In theory, the API for Container should abstract away how many internal pieces there are. It should probably be a div in JS. Adding a ScrollingContainerView should be the PAYG way of turning on overflow:auto. On the SWF side, the ScrollingContainerView has a lot more work to do. But it should

Re: [FlexJS] Group container

2017-03-07 Thread Peter Ent
As I go through FlexJS, I am wondering if we need to continue the idea of chrome. Chrome is not something built into HTML/CSS/JS, it is artificial. We use it for the title bar and control bar in a Panel, but a Panel can be composed of nesting Groups and applying the correct styles. In Flex,

Re: [FlexJS] Group container

2017-03-07 Thread Peter Ent
Thanks for the feedback! As I go through the examples, I see that we (mostly me) created a number of nested elements, such as a for an item renderer. That makes it more difficult to lay out since the content of the div is not always set to fill the div's space. I think each of the components and

Re: [FlexJS] Group container

2017-03-07 Thread Carlos Rovira
Hi Peter, I think this awesome. get rid of the hardcoded styles in component classes is such important thing and first point not only in your effort of create a good layout strategy, but an important previous step if we want to implement theming in FlexJS. Great! :D Carlos 2017-03-07 14:23

Re: [FlexJS] Group container

2017-03-07 Thread Peter Ent
This is the theory, yes. A way to do your own thing using AS and MXML to construct the app which then generates the right amount of HTML structure, making it easier to style. Or use pre-built constructions and layouts as templates that also generate the right amount of HTML structure. I'm

Re: [FlexJS] Group container

2017-03-06 Thread Alex Harui
On 3/6/17, 1:26 PM, "piotrz" wrote: >Hi Peter, > >It looks awesome. Cause if I'm enough skilled in CSS I can do whatever >layout I want and I don't need to know any other one. - In theory. :) True, but like with everything else in FlexJS, we are trying to

Re: [FlexJS] Group container

2017-03-06 Thread piotrz
.nabble.com/FlexJS-Group-container-tp60170p60182.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

[FlexJS] Group container

2017-03-06 Thread Peter Ent
Hi, Today I've introduced the FlexJS Group container - a lightweight alternative to the Container class. The Group container provides hardly more than on the HTML platform and the code generated using it should produce a DOM without the nested elements that Container gives you. Further