Re: [FlexJS] Spacers and positioning

2017-02-22 Thread Peter Ent
I posted this to a different email thread, but I pushed VerticalFlexLayout and HorizontalFlexLayout. Give them a try; only the JS side is affected. For spacing, put margins on the children of the Container. Padding on Container is still broken; I know why, just have to decide how to address it.

Re: [FlexJS] Spacers and positioning

2017-02-22 Thread Peter Ent
I'll be including the issues of spacing and positioning in my work with layouts. ‹peter On 2/21/17, 5:56 AM, "yishayw" wrote: >That sounds like a good idea. Let me know if I can help. > > > >-- >View this message in context:

Re: [FlexJS] Spacers and positioning

2017-02-21 Thread yishayw
That sounds like a good idea. Let me know if I can help. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Spacers-and-positioning-tp59242p59706.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Spacers and positioning

2017-02-14 Thread Peter Ent
You can use CSS Flexbox[1] on the JS side to handle these situations. I'm thinking about making a layout that makes it possible to specify Flexbox and have some/all of it work on the SWF side as well. Its a bit of work but I think it will be worth it. If anyone is interested in helping, let me

Re: [FlexJS] Spacers and positioning

2017-02-13 Thread Alex Harui
On 2/13/17, 12:33 PM, "Justin Mclean" wrote: >Hi, > >> I think we should use the Express package as a way to build a >> comprehensive, yet slim, set of components, that has all of the expected >> functionality built it. For example, incorporating vertical and

Re: [FlexJS] Spacers and positioning

2017-02-13 Thread Justin Mclean
Hi, > I think we should use the Express package as a way to build a > comprehensive, yet slim, set of components, that has all of the expected > functionality built it. For example, incorporating vertical and horizontal > gap properties and alignment, into the layouts. Padding would also be

Re: [FlexJS] Spacers and positioning

2017-02-13 Thread Peter Ent
I think we should use the Express package as a way to build a comprehensive, yet slim, set of components, that has all of the expected functionality built it. For example, incorporating vertical and horizontal gap properties and alignment, into the layouts. Imposing this on Basic/HTML is not the

Re: [FlexJS] Spacers and positioning

2017-02-12 Thread Harbs
Documentation is the key. I don’t know what to say, but we need a solution to that problem. The current BasicLayout seems to be pretty inefficient as-is for HTML layout. It currently runs layout twice, and we observed some pretty extreme delays in laying out lists. For example, a list with

RE: [FlexJS] Spacers and positioning

2017-02-11 Thread Yishay Weiss
o: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: Re: [FlexJS] Spacers and positioning In the current layouts, %width works the way it does in the browser and not the way it did in Flex. Where should we document that so folks find it easily? If someone wants to port the Flex layouts

Re: [FlexJS] Spacers and positioning

2017-02-11 Thread Alex Harui
In the current layouts, %width works the way it does in the browser and not the way it did in Flex. Where should we document that so folks find it easily? If someone wants to port the Flex layouts that's fine with me. They will be at least twice as slow, if not more, but that's PAYG for you. I

Re: [FlexJS] Spacers and positioning

2017-02-11 Thread Harbs
Currently, the best you can do to spread elements in FlexJS is by using OneFlexibleChildVerticalLayout and OneFlexibleChildHorizontalLayout. The more we use FlexJS, the more we’re coming to the conclusion that we really need a ConstrainedLayout which has the features of the classic Flex layout…