[FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread yishayw
Perter (or anyone else), Any idea why this [1] app isn't showing the non-flexible green container (cont2)? [1] https://paste.apache.org/cRdQ -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-OneFlexibleChildVerticalLayout-tp60953.html Sent from the A

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread piotrz
Hi Yishay, I think cause height of "cont2" is 0, when I add some height it appears. I checked it with Peter's branch "feature/chart-work" Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-OneFle

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread yishayw
Yes, Harbs and I inspected the HTML and container sizes are no longer sized to content, which makes this test app fail. I'm wondering what Peter has in mind to help us make sizing to content work. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-OneFl

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread piotrz
Yishay, You are expecting that "cont2" will be expanded by his child container which has height="20" ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-OneFlexibleChildVerticalLayout-tp60953p6095

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread Harbs
Yes. That’s what used to happen in the old layouts. > On Apr 2, 2017, at 6:23 AM, piotrz wrote: > > Yishay, > > You are expecting that "cont2" will be expanded by his child container which > has height="20" ? > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread piotrz
Hi Harbs, Adding to "cont2" VerticalFlexLayout [1] bead will work in that case, but not sure whether it is acceptable for you. [1] https://paste.apache.org/aBPD Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.na

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread yishayw
That works for the test case, but in our real case we have a toolbar container which lays its children out horizontally and sizes its height according to its child buttons. Changing the layout to VerticalFlexLayout doesn't seem right... -- View this message in context: http://apache-flex-devel

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread Peter Ent
Hi - just saw this (Sunday morning here). When you use the "flexible" layouts, you don't need percent sizing. If you do put explicit or percent sizing in, the layout code (SWF side) probably won't do the right thing with it and I'd have to see what HTML does with it. I'm still understanding the H

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread yishayw
Peter Ent wrote > > > > > > > The VerticalLayout will not resize the Container to fit the content. The > Container (actually, GroupView), will do that after it runs the layout. So > if you are seeing that a container is NOT sizing to fit its content - > that's a bug. That seems to be t

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread Harbs
It looks like the problem is that layoutViewAfterContentLayout(); is now wrapped in a COMPILE::SWF block. > On Apr 2, 2017, at 8:56 AM, yishayw wrote: > > Peter Ent wrote >> >> >> >> >> >> >> The VerticalLayout will not resize the Container to fit the content. The >> Container (actually,

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread Peter Ent
HI, I haven't got MDL working completely, but I found the cause of the problem. The Span class is extending ContainerBase. That won't work now because ContainerBase no longer supports MXML children - I moved that into Container (and Group and View). I also don't think you need Container for HTML

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread Peter Ent
Yes - In the feature/chart-work branch it is not. That was an oversight on my part. As soon as I get MDL framework back up and running I think I can safely merge my feature branch into develop, but I will give you all time to do a final check. ‹peter On 4/2/17, 9:33 AM, "Harbs" wrote: >It looks

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread piotrz
Hi Peter, I was thinking that would be a solution, but I prefered to leave fix for you cause I wasn't sure. Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Help-Needed-tp60946p60965.

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread yishayw
I tried using the feature/chart branch but since our project uses mdl, I'm getting a runtime error. So it's difficult to test. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-OneFlexibleChildVerticalLayout-tp60953p60966.html Sent from the Apache Flex

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread Peter Ent
I've pushed changes to HTML and MDL libraries in the feature/chart-work branch. In order to get the small example you made to work, I had to change MDL's List. Actually, I simplified it a great deal so that is 90% the HTML List with just a few changes now. The main MDLExample still isn't running,

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread piotrz
Hi Peter, I just tried MDLExample and see where the problem is. In UIBase method getElementAt should return null in case of JS. var children:Array = internalChildren(); return children[index].flexjs_wrapper; When there is no children in code above flexjs_wrapper is undefined.

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread piotrz
Peter, My simple example is working for me. I was looking into the MDL library but it look there are also work with other components which are based on List. If you are looking into that just let me know if you find some stoppers. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread Harbs
Our MDL is not working because it does not support MXML. My understanding is that Peter is working on that, though. Harbs > On Apr 2, 2017, at 3:05 PM, piotrz wrote: > > Peter, > > My simple example is working for me. I was looking into the MDL library but > it look there are also work with o

Re: [FlexJS] MDL Help Needed

2017-04-02 Thread Peter Ent
Yes. I hope to resolve this quickly. What I did was move the MXML support from the GroupBase/ViewBase/ContainerBase classes into the Group/View/Container classes. I did this so that there was an easy inheritance chain: ChartBase->ListBase->DataContainerBase->ContainerBase->GroupBase with each of t

Flex Air Support

2017-04-02 Thread lgabrielmf
Hello everyone! I'm finishing a product that I'll soon release to the market and I've used Apache Flex Air as the desktop client. How are the expectations about Apache Flex Air? Will it continue to be supported? Thanks for your attention. -- View this message in context: http://apache-flex-d

Re: Flex Air Support

2017-04-02 Thread Alex Harui
On 4/2/17, 6:47 PM, "lgabrielmf" wrote: >Hello everyone! > >I'm finishing a product that I'll soon release to the market and I've used >Apache Flex Air as the desktop client. How are the expectations about >Apache >Flex Air? Will it continue to be supported? > >Thanks for your attention. Hi,

Re: Falcon build failing

2017-04-02 Thread Alex Harui
Well, I just pushed more changes so FlexJSStore compiles and loads without errors, but it doesn't look right yet. I'll be digging into that shortly. Thanks, -Alex On 3/30/17, 12:18 PM, "Alex Harui" wrote: >I pushed some changes that might fix that. Let me know. FlexJSStore >still isn't runni

Re: [FlexJS] OneFlexibleChildVerticalLayout

2017-04-02 Thread yishayw
I just tested the test case upthread on feature/chart-work and I'm getting the same problem. 'cont2' does not get sized and is not shown. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-OneFlexibleChildVerticalLayout-tp60953p60975.html Sent from the