Re: [ApacheCon] Let's make it happen :-)

2017-02-21 Thread piotrz
Chris, Yes but it is your private twitter not our ApacheFlex. Maybe someone who has access to FB will respond later. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [ApacheCon] Let's make it happen :-)

2017-02-21 Thread Tom Chiverton
Done. Tom On 21/02/17 06:59, piotrz wrote: Hi Guys, I saw on facebook created event - Can we add in the event details also link to our event website? Did someone post officiall announcement on Twitter? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread sankar
Hi Piotr, On a separate thought, this following throws me error in "bin-release" version, but "bin-debug" doing good. > if ("componentHandler" in document.defaultView) > { > > document.defaultView["componentHandler"].upgradeElement(c.positioner); > } I

[FlexJS] MDL - TabBar background color

2017-02-21 Thread sankar
Hi, I was trying to change background color to TabBar components, so here what I did in code: > tabIdField="href" className="customTabBarSetup" > style="backgroundColor:#811937"> This changed the background color, but left a portion at left and right:

Re: [Flex JS] Padding not working as expected

2017-02-21 Thread yishayw
Justin Mclean wrote > Here’s the generated HTML: > > > div style=display: block; b > > position: absolute * > ; left: 0px; top: 0px; width: 100px; height: 100px;"> > Hello > > We just ran into this as well. The problem is that the content view has absolute positioning (boldfaced). BTW,

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] MDL - Dynamic Child Problem

2017-02-21 Thread Dev LFM
I did not tried yet FlesJS, but I'm listening every post. I think those beads should be added automatically and internally only if needed, ex: if some component have a binding tag like visible="{model.show}", this would automatically add 2 beads, the binding bead and the visibilitybead. What I

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Carlos Rovira
What about to have a MDLUtils or UpgradeMDLUtils class with static methods? So people that would create a component will do "UpgradeUtils.upgradeElement(buttonToUpgrade);" In this way people using a button 90% of times will not be affected by that overhead. (I'm thinking on a general scenario

Re: [FlexJS] - Is FlexJS ready for production?

2017-02-21 Thread Carlos Rovira
Hi Chris, I think you finaly didn't commit that changes right? I don't see any commit pending to pull in my source tree for "feature/spriteflexjs-refactor" thanks El 17 de febrero de 2017, 21:14, Carlos Rovira < carlos.rov...@codeoscopic.com> escribió: > Great Chris!, > as I'm focused with

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

2017-02-21 Thread Carlos Rovira
Hi Sankar, FWIK, Alex and Peter rely on relative positioning to get percent size handling. But MDL does not use relative positioning at all. So that should be the problem you have with that property. That's the trade-off of sets like MDL that are a wrap of an external library and not a FlexJS

Re: [Flex JS] Click handler on label fails

2017-02-21 Thread Carlos Rovira
I remember seeing this as well, but maybe no body did a ticket for it 2017-02-21 9:34 GMT+01:00 Justin Mclean : > Hi, > > > That's been reported before. > > I can’t find a JIRA for it. Has one be raised? > > > We have to decide whether we want labels to be clickable on

Re: [FlexJS] - Is FlexJS ready for production?

2017-02-21 Thread Carlos Rovira
I did a rebase of the branch against develop for better handling El 21 de febrero de 2017, 16:26, Carlos Rovira < carlos.rov...@codeoscopic.com> escribió: > Hi Chris, > > I think you finaly didn't commit that changes right? I don't see any > commit pending to pull in my source tree for

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Carlos Rovira
Hi Piotr, thanks for introducing the UpgradeElement bead. I saw that Button and TextField add this element by default. But that breaks IMHO the concept of PAYG. many people can use a button without the need to have always that bead added. For me is the same example that with TextField and Prompt

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread yishayw
I agree. If you think this bead will be used very often you can create a subclass that bakes it in. ImageButton in Express is probably a good example, though I would use StrandUtils to save some code lines. -- View this message in context:

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread piotrz
Hi Carlos, Well at some point I agree, but there are components which you won't be able to simple use this bead: For example TextField. You cannot do such things: var textField = new TextField(); textField.addBead(new UpgradeElement()) - cause this bead is registering host.element and element

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Guild, Jason A (DFG)
THIS. As an outsider looking in who also doesn't have much experience with FlexJS, I see the approach outlined below to be the best compromise between the "FlexJS the API" and PAYG for efficiency. I know it's just a step on the way, and I am positive that Express will be a big help, but

[FlexJS] Horizontal list missing scrollbar

2017-02-21 Thread Justin Mclean
Hi, I can get list with vertical scrolling working, although it’s not obvious that there is a scrollbar in some cases. But I’m unable horizontal lists to work. I may be missing something or this may be a bug. Anyone got this to work? I was trying to make a horizontal list like so:

[FlexJS] resize event not working?

2017-02-21 Thread Justin Mclean
Hi, This code doesn’t seem to work - anyone have any ideas why? I tried with and with out the bead and also tried “this.” instead of “view.” http://ns.adobe.com/mxml/2009; xmlns:js="library://ns.apache.org/flexjs/basic" initialize="init()">

Re: [FlexJS]Layout redux

2017-02-21 Thread Alex Harui
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 have to set position:relative or not that came out of the MDL swc.

FW: [FlexJS] resize event not working?

2017-02-21 Thread Yishay Weiss
From: Yishay Weiss Sent: Wednesday, February 22, 2017 8:07 AM To: Justin Mclean Subject: RE: [FlexJS] resize event not working? Looks like you’re using a flash event instead of the flexjs one. From: Justin

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

2017-02-21 Thread Alex Harui
On 2/21/17, 11:40 AM, "Josh Tynjala" wrote: >COMPILE::JS and COMPILE:SWC are just regular compile-time constants. As >far >as I know, they receive no special treatment from the compiler. It's just >a >convention used by the FlexJS framework projects to make the

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Alex Harui
Well, I agree that most FlexJS users will not be more productive having to assemble everything from tons of little beads, and that's why I've been saying for quite a while that I expect heavier component sets like Express to be more popular. That said, we don't want the compiler generating code.

Re: [FlexJS] resize event not working?

2017-02-21 Thread Justin Mclean
Hi, > Looks like you’re using a flash event instead of the flexjs one. Thanks for that I tried that as well, but still doesn’t work. I can see the Resize bead is doing this: window.addEventListener('resize', org.apache.flex.utils.Language.closure(this.resizeHandler, this, 'resizeHandler'),

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread sankar
Carlos Rovira wrote > What about to have a MDLUtils or UpgradeMDLUtils class with static > methods? > So people that would create a component will do > "UpgradeUtils.upgradeElement(buttonToUpgrade);" > In this way people using a button 90% of times will not be affected by > that > overhead. > (I'm

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

2017-02-21 Thread Josh Tynjala
COMPILE::JS and COMPILE:SWC are just regular compile-time constants. As far as I know, they receive no special treatment from the compiler. It's just a convention used by the FlexJS framework projects to make the components exclude certain code on some platforms. If you're targeting one platform,

Re: [FlexJS]Layout redux

2017-02-21 Thread Peter Ent
I think this is generally a good approach. I've been thinking that we have some refactoring to do which might help. For instance, Core should probably be edited to include interfaces, events, and whatever else works across all packages. HTML should probably be just the HTML classes (Div, H1,

Re: [FlexJS]Layout redux

2017-02-21 Thread piotrz
+1 for that. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Layout-redux-tp59725p59736.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

[4.16.0] # Apache Flex SDK 4.16.0 nightly build 240: Successful

2017-02-21 Thread flex . ci . builds
flex-sdk_release-candidate - Build #240 - Successful Changes since last build: No changes For more information, check the console output at http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/240/.

[FlexJS]Layout redux

2017-02-21 Thread Harbs
We’re really struggling with layout. Yishay just mentioned the fact that padding is not working, but the problems seem to go much deeper than that. 1. VerticalLayout has the following code: for (i = 0; i < n; i++) {

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread piotrz
I went through the comments and I see that voices rather saying that we shouldn't make automatic upgrades for the components, but since it is not easy add this ability as an util, maybe we should introduce an interface - IDynamic with property IsDynamic - setted by constructor or traditionally.

Re: [FlexJS] - Is FlexJS ready for production?

2017-02-21 Thread Carlos Rovira
Hi Chris, thanks for seeing the problem, I don't think that could be that... I'll be creating another thread to see how should I overcome this problem without the need to apply all DEFINES all over the code... Thanks! El 21 de febrero de 2017, 17:13, Christofer Dutz

Re: [FlexJS]Layout redux

2017-02-21 Thread Peter Ent
A lot of this work is mine and it seems to need to be thought through once again. The dichotomy of SWF & JS has presented problems for me in the past. Maybe the layouts, for JS platform, should do as little as possible, replying on CSS as much as possible. Then make the SWF platform mimic that.

[FlexJS][SpriteFlexJS] DEFINES not in SpriteJS

2017-02-21 Thread Carlos Rovira
Hi, the problem arised by Chris in SpriteFlexJS branch shows that there's no COMPILE::JS or COMPILE::SWF. Since SpriteFlexJS is only JS, seems Lizhi doesn't need SWF platform. So I think he compiles in a way that only target JS platform and compiler doesn't fail when COMPILE::JS is not found.

Re: [FlexJS]Layout redux

2017-02-21 Thread Carlos Rovira
Hi Peter, it seems HTML rely for this task heavily on CSS to the point that almost nothing is done in html or js code. So maybe we are not in the right way for HTML platform and we should make our code be mainly CSS. An example is here: https://css-tricks.com/snippets/sass/placing-items-circle/

Re: TLF: problem with \n and TextAlign Justify

2017-02-21 Thread goratz
Thank you Harbs, I tested putting a \t\n and then Justifys as expected. Thank you very much for you help. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/TLF-problem-with-n-and-TextAlign-Justify-tp59676p59697.html Sent from the Apache Flex Development

Re: TLF: problem with \n and TextAlign Justify

2017-02-21 Thread Harbs
That does not make a new paragraph, but it can work if the tab settings are such so it left justifies the text. > On Feb 21, 2017, at 10:04 AM, goratz wrote: > > Thank you Harbs, > > I tested putting a \t\n and then Justifys as expected. > > Thank you very much for you

Re: [Flex JS] Click handler on label fails

2017-02-21 Thread Alex Harui
On 2/20/17, 6:25 PM, "Justin Mclean" wrote: >Hi, > >Any reason why this shouldn’t work? ie clicking on the text does nothing. That's been reported before. We have to decide whether we want labels to be clickable on SWF and JS and make it consistent. -Alex

Re: [FlexJS] visibility compatibility with Flex SDK

2017-02-21 Thread Alex Harui
On 2/20/17, 7:33 PM, "Justin Mclean" wrote: >Hi, > >AFAIKS visibility works differently to Flex when items can be hidden but >still take up space. Is there any way of doing this in Flex JS? alpha=0? > >I’ve also run into some layout issues with content jumping

Re: [ApacheCon] Let's make it happen :-)

2017-02-21 Thread Christofer Dutz
Hi Piotr, I did post something at Twitter a while ago … was re-posted quite often (Surprisingly often by JavaScript people ;-) ) https://twitter.com/ChristoferDutz/status/829629485343457280 No idea who’s handling Facebook however. Chris Am 21.02.17, 07:59 schrieb "piotrz"

Re: [Flex JS] Click handler on label fails

2017-02-21 Thread Justin Mclean
Hi, > That's been reported before. I can’t find a JIRA for it. Has one be raised? > We have to decide whether we want labels to be clickable on SWF and JS and > make it consistent. I guess it should not extend UIBase if there no click handler? Thanks, Justin

Re: [FlexJS]Layout redux

2017-02-21 Thread Justin Mclean
Hi, > Yishay just mentioned the fact that padding is not working It not working for me either - see https://issues.apache.org/jira/browse/FLEX-35274 > This seems totally wrong. Why is the padding being added when we’re using > box-sizing: border-box? Also seems wrong to me. > 3. Percentage

Re: [FlexJS] - Is FlexJS ready for production?

2017-02-21 Thread Christofer Dutz
Strange … I could swear I pushed it, well I re-pushed and verified it’s in there now ☺ Chris Am 21.02.17, 16:27 schrieb "carlos.rov...@gmail.com im Auftrag von Carlos Rovira" : I did a rebase of the branch against

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

2017-02-21 Thread sankar
Hi Carlos, Thank you for sharing your thoughts on this.. I tried to watch where it's failing, and then I found size wasn't properly updating. For some unknown reason, when application starts, NavigationLayoutContent somehow acquire 1300px it's width; the owner component's width I found is

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread piotrz
But from the developer point of view I see TextField - if text field has inside one or three elements to upgrade ? As a developer I don't know nothing about component inside - I would like to use it, dynamically. If I won't upgrade some internal components than something won't be working. For

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread piotrz
One thing which I wanted to add to make you more understand. 1) If component is instantiated in mxml and this component has added UpgradeElement as default - upgradeElement method from MDL will not be fired - Cause "componentHandler" do not exists yet. 2) Once web is loaded and some component is

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Josh Tynjala
I think, since the core MDL library doesn't upgrade components by default, it's okay if the FlexJS wrapper doesn't either. I think we should make sure it's well documented, though. Maybe with a special section in the MDL example app. - Josh On Feb 21, 2017 7:18 AM, "Carlos Rovira"

Re: [Flex JS] Click handler on label fails

2017-02-21 Thread Alex Harui
On 2/21/17, 12:34 AM, "Justin Mclean" wrote: >> We have to decide whether we want labels to be clickable on SWF and JS >>and make it consistent. > >I guess it should not extend UIBase if there no click handler? It can, but in theory in the dual branch, UIBase

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread piotrz
Maybe I will commit RadioButton changes and you will see - if I will be able to even upgrade it. Let say that our component consists with: Checkbox and Span need to be upgraded, so inside my custom component I will create: var cbx = new CheckBox(); - If it is upgradable inside I won't have

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread Carlos Rovira
Hi, I always try to extrapolate from what I see people are doing in MDL. I didn't have the time to search too much, but seems people as the perform something dinamic they use the method, so something "external" is done, and that's the same approach I proposed with the static utility class. That