Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Alex Harui
On 2/22/17, 11:18 PM, "Harbs" wrote: >That’s not going to work for an embedded app because the body element can >be outside the app completely. What would it take to make it work? If we ask each parent if it is an IPopUpHost and if it answers yes and it gives us an Iparent to call addElement

Re: TLF, problem with the delay of updates

2017-02-22 Thread goratz
Thank you Harbs, I will try with the UPDATE_COMPLETE event. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/TLF-problem-with-the-delay-of-updates-tp59313p59819.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: [FlexJS] Horizontal list missing scrollbar

2017-02-22 Thread Yishay Weiss
DAYG is excellent. I also advocate R(eport)AYG. Justin’s inputs have escalated issues we’ve been dealing with, but haven’t necessarily found time or motivation to report. So If someone wants to DWYHT (Do When You Have Time), the Jira list is there. From: Alex Harui Sent

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Harbs
That’s not going to work for an embedded app because the body element can be outside the app completely. > On Feb 23, 2017, at 9:01 AM, Alex Harui wrote: > > > > On 2/22/17, 9:49 AM, "Harbs" wrote: > >> It looks like my change works. >> >> I just committed a change where instead of Dialog

Re: [FlexJS]Layout redux

2017-02-22 Thread Harbs
I just checked. I have 24 classes with position: absolute and 16 classes with position: relative in a responsive app we use for PrintUI. The default for the app is absolute. It also has three media queries to set the percentage size of the main (relative) sections for responsive layout. It also

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-22 Thread Alex Harui
On 2/22/17, 2:44 PM, "Justin Mclean" wrote: >Hi, > >Anyone have any ideas here? Expect lots of bugs and missing features. If some example hasn't needed it, it could be that nobody has written the code for it. Here's a new acronym: DAYG (Do as you go). We are writing code as we need it. Do

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Alex Harui
On 2/22/17, 9:49 AM, "Harbs" wrote: >It looks like my change works. > >I just committed a change where instead of Dialog being added to >Application, the Dialog HTML element is added to . I needed to >manually call addedToParent() to make sure the children render, and it >all seems to work. :-)

Re: [FlexJS]Layout redux

2017-02-22 Thread Alex Harui
A few comments/questions: What does flex-box do when it runs out of room? Doesn't it wrap to a new row/column? Or can that be controlled? I think most folks expect VerticalLayout to not create a new column but to keep going vertically and be clipped or scrolled. On the SWF side, I am hopefully

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-22 Thread Justin Mclean
HI, > Not sure yet but I will look into it tomorrow. Much appreciated. Thanks, Justin

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-22 Thread Peter Ent
Not sure yet but I will look into it tomorrow. Peter > On Feb 22, 2017, at 5:45 PM, Justin Mclean wrote: > > Hi, > > Anyone have any ideas here? > > Thanks, > Justin

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-22 Thread Justin Mclean
Hi, Anyone have any ideas here? Thanks, Justin

Re: [SpriteFlexJS] new Lizhi's SpriteFlexJs branch

2017-02-22 Thread Justin Mclean
Hi, > As I said, hope Lizhi wants to incorporate this folder refactor, license > headers and finaly as it's prepared, come with the project to Apache Flex. > I think it would be a great add to the project. There are some IP issues with that source code they would need to be sorted first. Basica

Re: [FlexJS]Layout redux

2017-02-22 Thread Peter Ent
Great. Thanks. I will take a look at these tomorrow. ‹peter On 2/22/17, 5:19 PM, "Harbs" wrote: >This too: >https://philipwalton.github.io/solved-by-flexbox/ > >> On Feb 23, 2017, at 12:16 AM, Harbs wrote: >> >> BTW, this might be useful: >> https://github.com/philipwalton/flexbugs >>

Re: [FlexJS]Layout redux

2017-02-22 Thread Peter Ent
First, I like the idea of moving as much into CSS as possible, at least to the extent we can support in on the SWF side. Secondly, I think the layouts setting the display makes sense in this case, based on what Harbs said. I was thinking of this: A. UIBase does not set position and display. The

Re: [FlexJS]Layout redux

2017-02-22 Thread Harbs
This too: https://philipwalton.github.io/solved-by-flexbox/ > On Feb 23, 2017, at 12:16 AM, Harbs wrote: > > BTW, this might be useful: > https://github.com/philipwalton/flexbugs > > >> On Feb 23, 2017, at 12:08 AM, Harbs >

Re: [FlexJS]Layout redux

2017-02-22 Thread Harbs
BTW, this might be useful: https://github.com/philipwalton/flexbugs > On Feb 23, 2017, at 12:08 AM, Harbs wrote: > > How well do these work in IE? > > It looks like Flexbox is not supported at all in IE prior to IE10 and even in > IE10 and 11, it only has buggy support.[1] > > [1]http://caniu

Re: [FlexJS]Layout redux

2017-02-22 Thread Harbs
For that to work, the bead will need to append the class name of the component. It cannot be applied to the bead itself. Harbs > On Feb 23, 2017, at 12:05 AM, Carlos Rovira > wrote: > > Hi Peter, > > one of the things I'd want to do is remove "styles" in source code and move > to css. > For

Re: [FlexJS]Layout redux

2017-02-22 Thread Harbs
How well do these work in IE? It looks like Flexbox is not supported at all in IE prior to IE10 and even in IE10 and 11, it only has buggy support.[1] [1]http://caniuse.com/#feat=flexbox > On Feb 22, 2017, at 11:40 PM, Peter Ent wrote: > > I just pushed new layouts: VerticalFlexLayout and Hor

Re: [FlexJS]Layout redux

2017-02-22 Thread Carlos Rovira
Hi Peter, one of the things I'd want to do is remove "styles" in source code and move to css. For example: viewBead.contentView.element.style["display"] = "flex"; What do you think about to move this to default.css class, i.e.: HorizontalFlexLayout { display: flex; ... } I think we should m

Re: [FlexJS]Layout redux

2017-02-22 Thread Harbs
I totally agree with this. There should be a simple Container (with H and V variants) and a separate ChromeContainer. The vast majority of Containers do not need the extra div. Moving Panel to Express is an option, but I’m not sure it’s necessary. > On Feb 22, 2017, at 11:40 PM, Peter Ent wrot

Re: [FlexJS]Layout redux

2017-02-22 Thread Carlos Rovira
Hi Peter, although I still not look into the code, that seems very promising. As you say we need a component with just one div, and then we could have more of then for chrome and other things. in old Flex Group was a container that doesn't have the width of subitems into account, so maybe the Flex

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. P

Re: [FlexJS]Layout redux

2017-02-22 Thread Peter Ent
Hi, I just pushed new layouts: VerticalFlexLayout and HorizontalFlexLayout as well as a change to DataBindingExample to use them. I consider these temporary and would like to make them be the VerticalLayout and HorizontalLayout in the near future. If you look at their code you will see the COMPIL

Re: [SpriteFlexJS] new Lizhi's SpriteFlexJs branch

2017-02-22 Thread Carlos Rovira
Hi, just forked the Lizhi's project in GitHub, created a "maven-refactor" branch in my fork and uploaded what I have done. Then removed the branch in our repo and finaly email Lizhi to let him know about the maven refactor effort and the link with that refactor. Now I still need to end refactor o

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Guild, Jason A (DFG)
Alex: Replies below... On 2/21/2017 22:20, Alex Harui wrote: That said, we don't want the compiler generating code. Everything else is converted to data structures so the framework can interpret the data structures. The reason is mostly practical. It is scary for most folks to change the comp

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread piotrz
Back to the subject: I don't see possibility to achieve PAYG without forcing developer to do some additional hacks on our components once he add UpgradeElement. Although I'm able to provide dynamic ability ON DEMAND. Creating IDynamic interface with property isDynamic. I'll start to work - let

Re: [SpriteFlexJS] new Lizhi's SpriteFlexJs branch

2017-02-22 Thread Harbs
Sounds like a good plan. :-) > On Feb 22, 2017, at 7:48 PM, Carlos Rovira > wrote: > > Ok, I'll remove the branch and talk with Lizhi about import my changes in > his repo > > thanks > > 2017-02-22 18:34 GMT+01:00 Harbs : > >> The project needs a full audit before we can import anything. >>

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Harbs
It looks like my change works. I just committed a change where instead of Dialog being added to Application, the Dialog HTML element is added to . I needed to manually call addedToParent() to make sure the children render, and it all seems to work. :-) Harbs > On Feb 22, 2017, at 5:24 PM, Harb

Re: [SpriteFlexJS] new Lizhi's SpriteFlexJs branch

2017-02-22 Thread Carlos Rovira
Ok, I'll remove the branch and talk with Lizhi about import my changes in his repo thanks 2017-02-22 18:34 GMT+01:00 Harbs : > The project needs a full audit before we can import anything. > > It seems like many files came from playerglobal.swc which we cannot use. > > Thanks, > Harbs > > > On F

Re: [SpriteFlexJS] new Lizhi's SpriteFlexJs branch

2017-02-22 Thread Harbs
The project needs a full audit before we can import anything. It seems like many files came from playerglobal.swc which we cannot use. Thanks, Harbs > On Feb 22, 2017, at 7:08 PM, Alex Harui wrote: > > At one point in time, were files in Lizhi's repo like Matrix.as that are > not allowed in ou

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Christofer Dutz
Hi Alex, That sounds very promising ☺ Looking forward to it. Chris Am 22.02.17, 17:13 schrieb "Alex Harui" : On 2/22/17, 2:43 AM, "Christofer Dutz" wrote: >Well I guess the thing is that you are building a SWC. > >Till now we were expecting to build SWCs to be us

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Harbs
> On Feb 22, 2017, at 6:08 PM, Alex Harui wrote: > > > > On 2/22/17, 7:24 AM, "Harbs" wrote: > >> So, this is going to be a problem. >> >> Right now Application is always attached to , but that is probably >> going to change. A very common use case of RIAs is embedded in web pages. >> In th

Re: [SpriteFlexJS] new Lizhi's SpriteFlexJs branch

2017-02-22 Thread Alex Harui
At one point in time, were files in Lizhi's repo like Matrix.as that are not allowed in our repo because of the way they were "authored". Those files would need to be replaced by correctly authored files before we can import them into one of our repos, and we should get a grant document signed by

Re: [FlexJS]Layout redux

2017-02-22 Thread Carlos Rovira
Hi Peter, that sound very good :) thanks! 2017-02-22 16:53 GMT+01:00 Peter Ent : > That's a good strategy. My experiments this morning look like Flexbox is > the way to go. Its widely supported now and seems pretty easy to use. > > I'm going to create VerticalFlexLayout and HorizontalFlexLayout a

Re: [SpriteFlexJS] new Lizhi's SpriteFlexJs branch

2017-02-22 Thread Carlos Rovira
Hi Alex, I uploaded updated repo with license header (so all classes changed) to our repos in order to prepare a possible integration in our branch. The problem is that we can add the code at all in any branch? or we can add this changed codebase in order to see if we can hold it and of course get

Re: [SpriteFlexJS] new Lizhi's SpriteFlexJs branch

2017-02-22 Thread Alex Harui
On 2/22/17, 7:48 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >it seems that with Chris changes Lizhi's SpriteFlexJS project start to >compile without problem. >I imported the lasted codebase and updated all classes with LICENSE >headers >in order to be able to compile

Re: [FlexJS] resize event not working?

2017-02-22 Thread Alex Harui
"Resize" seemed to be reserved by the browser. Plus, IMO, events should have more explicit names. When the width changes, then dispatch "widthChange" because it may or may not guarantee a "resize" in response. "sizeChanged" means that someone called an API which set width and height in the same c

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Alex Harui
On 2/22/17, 2:43 AM, "Christofer Dutz" wrote: >Well I guess the thing is that you are building a SWC. > >Till now we were expecting to build SWCs to be usable in SWF and JS. >Therefore we don’t have the concept of “pure JS swcs”. >If this is a thing, eventually it would be good to define differ

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Alex Harui
On 2/22/17, 7:24 AM, "Harbs" wrote: >So, this is going to be a problem. > >Right now Application is always attached to , but that is probably >going to change. A very common use case of RIAs is embedded in web pages. >In that case, the base element will not be unless it’s in an >iframe. iframe

Re: [FlexJS]Layout redux

2017-02-22 Thread Peter Ent
That's a good strategy. My experiments this morning look like Flexbox is the way to go. Its widely supported now and seems pretty easy to use. I'm going to create VerticalFlexLayout and HorizontalFlexLayout and have them extend the current versions just so the SWF side stays the same for right now

[SpriteFlexJS] new Lizhi's SpriteFlexJs branch

2017-02-22 Thread Carlos Rovira
Hi, it seems that with Chris changes Lizhi's SpriteFlexJS project start to compile without problem. I imported the lasted codebase and updated all classes with LICENSE headers in order to be able to compile. I created a new branch due to problems with the last one: "feature/sprite-refactor" I must

Re: [FlexJS, MDL] Layout Problems

2017-02-22 Thread Harbs
I’m pretty sure this is not a problem, but I’ll double-check. > On Feb 22, 2017, at 5:12 PM, Carlos Rovira > wrote: > > some-class-selector could remove the slider ones since are not in > typeNames. If this is not happening that would be very good by I'm afraid > that this could be a problem.

Re: [FlexJS, MDL] Layout Problems

2017-02-22 Thread Harbs
You need a wrapper around the input to set the size as documented on the mdl site. They recommend using , but that introduces a bottom padding. That’s why I used div instead. > On Feb 22, 2017, at 5:12 PM, Carlos Rovira > wrote: > > Hi Harbs, > > the first div is not in the slider spec, coul

Re: Cleaning up in the Branches?

2017-02-22 Thread Carlos Rovira
Hi, I use to remove what is in no use (i.e: mdl branch was removed as I finished). I have now two: "amf" and "sprite-refactor" (I removed the old one spriteflexjs-refactor and created a new one with the new code since the old one was causing me problems). regarding the new sprite-refactor branch,

Cleaning up in the Branches?

2017-02-22 Thread Christofer Dutz
Hi, I was thinking of changing the Jenkins pipeline multibranch plugin to auto-build “feature/*” instead of “feature-autobuild/*” as none seems to be using that. Then I noticed quite several old branches in our repos … could we please spare 5 minutes and do a little housekeeping and delete obso

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Harbs
So, this is going to be a problem. Right now Application is always attached to , but that is probably going to change. A very common use case of RIAs is embedded in web pages. In that case, the base element will not be unless it’s in an iframe. iframes are not always a good solution. For examp

Re: [FlexJS]Layout redux

2017-02-22 Thread Carlos Rovira
That looks very promising Peter. Look forward to see some progress :) If flexbox is the future, I think we should always look to go with that specs, and in case that still is not in some browsers, search for a polyfill that could do the job for not supported browsers for now. At the end browsers wi

Re: [FlexJS, MDL] Layout Problems

2017-02-22 Thread Carlos Rovira
Hi Harbs, the first div is not in the slider spec, could we get rid of it? if not we'll be introducing output that is not conforming to MDL spec. I look at the changes in typeNames and you should check as well that you are able to add additional class selectors to the Slider, since my implementat

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Carlos Rovira
Thanks Chris, as I state in the other thread fix works now and I can now follow up with my duties in that library thanks! 2017-02-22 13:24 GMT+01:00 Christofer Dutz : > It should be: > > > true > > > But as I wrote in the other thread … seems to be broken atm and I’ll fix > it as s

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Carlos Rovira
Hi Harbs I asked here for the best way to reference tag from Dialog. I did the actual implementation as a workaround since at that moment you discussed it but no definite solution was opted. So considere it as a temporal code. If you see Dialog: https://getmdl.io/components/index.html#dialog-sec

Re: [FelxJS][Maven] Target only JS platform (Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS)

2017-02-22 Thread Carlos Rovira
Hi Chris, just updated and tried and seems compilation is now successful :) I'll be trying now to incorporate the full spriteflexjs lib and see if compile and works thanks! Carlos 2017-02-22 14:55 GMT+01:00 Christofer Dutz : > Ok, > > So, I just updated the flexjs-maven-plugin to generate a d

Re: [FelxJS][Maven] Target only JS platform (Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS)

2017-02-22 Thread Christofer Dutz
Ok, So, I just updated the flexjs-maven-plugin to generate a dummy SWC in case of a skipped SWF compilation. It was then possible to use the “true” config option and the build of the spritejs swc worked as desired without the need to provide the COMPILE:JS defines. Please try out ☺ Chris

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: >http://apache-flex-development.247.n4.nabble.com/FlexJS-Spacers-a

Re: [FlexJS] resize event not working?

2017-02-22 Thread Peter Ent
Alex will need to chime in here, but I believe his philosophy has been to keep the number of specialized events to a minimum. I'm not 100% sure I agree with that since it can be a lot easier to write code when you are responding to specific events, but it does expand the final footprint of the app

Re: [FlexJS]Layout redux

2017-02-22 Thread Peter Ent
I'm going to try some experiments in my own space. Basically, figuring out the best way to do simple layouts using CSS - vertical and horizontal with alignment options (center, left, right for vertical, top, middle, bottom for horizontal). Because alignment will probably require more cycles when im

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Harbs
I just looked at that code for the first time. I’m confused. Why are you attaching it to Application? Why not just add dialog to ? I don’t see why you need a reference to Application at all. Unless, of course the dialog should be centered in the application (which might not be ). Additionally,

Re: [FlexJS, MDL] Layout Problems

2017-02-22 Thread Harbs
Found it: https://issues.apache.org/jira/browse/FLEX-35235 I just reopened the issue. > On Feb 22, 2017, at 2:30 PM, Harbs wrote: > > Do you have a reference to the JIRA re. clac?

Re: [FlexJS, MDL] Layout Problems

2017-02-22 Thread Harbs
This is the current HTML markup including the FlexJS positioner (with the size set to 100%): Do you have a reference to the JIRA re. clac? > On Feb 22, 2017, at 2:13 PM, Carlos Rovira > wrote: > > Hi Harbs, > > for "calc", Alex fixed the ticket for calc that Om create some time ago. If > i

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Christofer Dutz
It should be: true But as I wrote in the other thread … seems to be broken atm and I’ll fix it as soon as possible. But still I think this would produce output which isn’t usable in normal flash projects so I think they should be distinguishable. Chris Am 22.02.17, 13:03 schri

Re: [FelxJS][Maven] Target only JS platform (Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS)

2017-02-22 Thread Christofer Dutz
Hi Carlos, true But is only valid for compiling applications … this doesn’t apply for swcs. For SWC compilation you should use: true but I just tried that and it does seem to be causing problems … the plugin is comping about not being able to find the SWC file … I’ll look into that right aw

Re: [FlexJS, MDL] Layout Problems

2017-02-22 Thread Carlos Rovira
Hi Harbs, for "calc", Alex fixed the ticket for calc that Om create some time ago. If is failing, you should open it again. regarding slider, is great you remove the hardcoded size, I think I forgot to do that in my revision and clean. The only think I 'd ask you if to check that the actual outpu

Re: [FelxJS][Maven] Target only JS platform (Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS)

2017-02-22 Thread Carlos Rovira
Hi Chris, I searched for "outputJavaScript", but didn't found nothing. Is right written? thanks 2017-02-22 11:45 GMT+01:00 Christofer Dutz : > Hi Carlos, > > As I responded in the other thread. > > We currently don’t have pure js swcs. We do have pure js applications and > this can be dealt with

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Carlos Rovira
Hi Chris, thanks, but I tried "skipAS=true” with skipAS=true and compilation fails in the same way 2017-02-22 12:13 GMT+01:00 Christofer Dutz : > Hi, > > I just had another look at the mojo and you can suppress the AS > compilation by setting “skipAS=true” … then you should prob

Re: [FlexJS, MDL] Layout Problems

2017-02-22 Thread Harbs
I committed a change today which fixes the double container problem. It took me quite some time to figure out how to fix the CSS. To fix the CSS so the slider is full width, you need to do this: .mdl-slider { margin: 0px; width: 100%; } .mdl-slider__background-flex { marg

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Christofer Dutz
Hi, I just had another look at the mojo and you can suppress the AS compilation by setting “skipAS=true” … then you should probably be able to build without the defines. Chris Am 22.02.17, 11:43 schrieb "Christofer Dutz" : Well I guess the thing is that you are building a SWC. Ti

Re: [FelxJS][Maven] Target only JS platform (Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS)

2017-02-22 Thread Christofer Dutz
Hi Carlos, As I responded in the other thread. We currently don’t have pure js swcs. We do have pure js applications and this can be dealt with by the “outputJavaScript” config option, but I am not really happy with that right now. Chris Am 22.02.17, 10:45 schrieb "carlos.rov...@gmail.com im

Re: [FlexJS] MDL - TabBarPanel children do not gets flexible sizes

2017-02-22 Thread Carlos Rovira
Hi Sankar, going to the original problem. This is working for me in MDLExample. If I use Grids.mxml and change all content to this: http://ns.adobe.com/mxml/2009"; xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:mdl="library://ns.apache.org/flexjs/mdl"

Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-22 Thread Christofer Dutz
Well I guess the thing is that you are building a SWC. Till now we were expecting to build SWCs to be usable in SWF and JS. Therefore we don’t have the concept of “pure JS swcs”. If this is a thing, eventually it would be good to define different naming: - swc (pure flash) - js (pure js) - jswc (

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Carlos Rovira
Regarding mdl:Application in concrete, is just a js:Application with a static var to handle body since is needed for Dialog, and that's what MDL Dialog impose. so just a static var is the difference... 2017-02-22 9:53 GMT+01:00 Harbs : > “Must” is too strong. > > Our app needs MDL for controls, b

[FelxJS][Maven] Target only JS platform (Re: [FlexJS][SpriteFlexJS] DEFINES not in SpriteJS)

2017-02-22 Thread Carlos Rovira
@Chris, do we have some example of a pom that only target JS? Or, if there's some way to do it, can you share the piece of config I should use? (or even, change the pom in the spriteflexjs branch) thanks 2017-02-22 8:51 GMT+01:00 Alex Harui : > > > On 2/21/17, 11:40 AM, "Josh Tynjala" wrote: >

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-22 Thread Harbs
“Must” is too strong. Our app needs MDL for controls, but the main functionality doesn’t and CAN’T rely on MDL. If mdl:Application can do everything a basic:Application can do, then that’s fine (as long as it can be sub-classed, because our app cannot be based off ), but if mdl:Application cann

Re: [FlexJS] resize event not working?

2017-02-22 Thread Harbs
I think it’s to be consistent with widthChanged and heightChanged. There is no “resize” event anywhere in FlexJS. It’s probably a good idea to not use the browser names for events. I do believe there should be a ResizeEvent with consts for SIZE_CHANGED, WIDTH_CHANGED and HEIGHT_CHANGED. This do

Re: [FlexJS]Layout redux

2017-02-22 Thread Harbs
> On Feb 22, 2017, at 9:46 AM, Alex Harui wrote: > > It is probably time for our annual "revisiting of the layout code". I > think if you look at source code history, Peter or I do this every so > often as we get more examples to work with. > > From memory, there are issues like whether we hav

Re: [FlexJS]Layout redux

2017-02-22 Thread yishayw
Alex Harui wrote > For sure, we need to the the JS side right and then worry about the SWF > side. I think there are way fewer behavior issues on the SWF side to deal > with. If there are less issues with the SWF side, wouldn't it make sense to try and emulate the SWF side by using absolute posit