Re: [FlexJS, MDL] Layout Problems

2017-02-27 Thread Alex Harui
On 2/27/17, 7:59 AM, "Harbs" wrote: >OK. > >What about @media for JS? > >Would that prevent SWF code from consuming it? I doubt it, but you can try it. > >I do think it’s important to allow specifying any valid css in your MXML >file even if it will not compile to SWF. One of the advantages o

Re: [FlexJS, MDL] Layout Problems

2017-02-27 Thread Harbs
OK. What about @media for JS? Would that prevent SWF code from consuming it? I do think it’s important to allow specifying any valid css in your MXML file even if it will not compile to SWF. One of the advantages of FlexJS over “normal” js dev is the ability to have self-contained markup, code

Re: [FlexJS, MDL] Layout Problems

2017-02-27 Thread Alex Harui
On 2/27/17, 3:30 AM, "Harbs" wrote: >I don’t need it for SWF. I just want to be able to include valid css in >my app and not have Falcon choke on it. > >I’m not sure I understand why this is related to SimpleCSSValuesImpl. The >calc() should simply be passed through to the css file. > >Unless y

Re: [FlexJS, MDL] Layout Problems

2017-02-27 Thread Harbs
I don’t need it for SWF. I just want to be able to include valid css in my app and not have Falcon choke on it. I’m not sure I understand why this is related to SimpleCSSValuesImpl. The calc() should simply be passed through to the css file. Unless you are talking about FlexJS doing something f

Re: [FlexJS, MDL] Layout Problems

2017-02-27 Thread Alex Harui
When I fixed this earlier, it was just for the folks who were not using the SWF output. I think recent changes have broken it even for JS output, but I'm wondering if you are expecting this to work for SWF. If so there is a lot more work to be done. IMO, SimpleCSSValuesImpl shouldn't have to sup

Re: [FlexJS, MDL] Layout Problems

2017-02-26 Thread Harbs
Can someone please look at this? It’s important. Thanks, Harbs > On Feb 22, 2017, at 3:14 PM, Harbs wrote: > > Found it: > https://issues.apache.org/jira/browse/FLEX-35235 > > > I just reopened the issue. > >> On Feb 22, 2017, at 2:30 PM, Ha

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
;>>> don’t really see a need to have a default value. >>>> 2. I changed the wrapper from p to div. MDL applies a 16px bottom >> padding >>>> to p elements. I don’t see why we want to force the bottom padding to a >>>> slider. >>>> >&

Re: [FlexJS, MDL] Layout Problems

2017-02-22 Thread Carlos Rovira
x for “flex” sliders) > >>> 2. This margin gets applied TWICE in FlexJS mdl. Once for the p > element, > >> and then again for the input element. This adds up to a 40px margin. > >>> 3. The slider gets wrapped in a mdl-slider__container element. This

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
>>> Problems 2,3 and 4 can be solved by only applying the classes to the >> input and not the p element. >>> >>> Problem #1 seems to be by design for mdl, but can be overridden in css. >> I don’t think that should be done by the FlexJS mdl library. If the client >> wants to remove the mar

Re: [FlexJS, MDL] Layout Problems

2017-02-22 Thread Carlos Rovira
, at 11:12 AM, OK wrote: > >> > >>> Can you exact specify what is the class of this container? > >> > >> There's a div that applies the class "mdl-slider__container" which sets > the > >> height to 18px [1]. > >

Re: [FlexJS, MDL] Layout Problems

2017-02-22 Thread Harbs
Olaf >> >> [1] https://snag.gy/x0gfpW.jpg >> >> >> >> >> >> >> >> -- >> View this message in context: >> http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59531.html >> Sent from the Apache Flex Development mailing list archive at Nabble.com. >

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread OK
... If MDL would represent the complete spec I think there're would be no need to mix components. Olaf -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59550.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread Josh Tynjala
> If the Basic set has a component that MDL doesn't, MDL doesn't want you to use that component. Or am I wrong about that? MDL is a work in progress, much like FlexJS. Google hasn't necessarily implemented every component that they want to add yet. - Josh

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread Alex Harui
On 2/16/17, 1:54 AM, "OK" wrote: >>I will try to create some beads which handle some mentioned cases above. > >From the FlexJS perspective folks of course could wondering why they can't >remove this style but maybe from MDL perspective (including Material >Design >specs) this maybe makes sense

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread piotrz
No problem Olaf! :) Looking forward to see your try of MDL :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59540.html Sent from the Apache Flex Development mailing

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread OK
>That's why I can provide some beads. If you wanted to use you will if not the core implementation won't >be touched. Yes sorry, this probably makes sens ;-) Thanks for working on MDL! Olaf -- View this message in context: http://apache-flex-development.247.n4.nabbl

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread piotrz
That's why I can provide some beads. If you wanted to use you will if not the core implementation won't be touched. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layou

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread OK
33347.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59536.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread Harbs
not nice > but not a FlexJS issue. > > Olaf > > [1] https://snag.gy/x0gfpW.jpg > > > > > > > > -- > View this message in context: > http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59531.html > Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread piotrz
Hi Olaf, I will try to create some beads which handle some mentioned cases above. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59534.html Sent from the Apache

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread OK
e but not a FlexJS issue. Olaf [1] https://snag.gy/x0gfpW.jpg -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59531.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread piotrz
Harbs, Can you exact specify what is the class of this container? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59524.html Sent from the Apache Flex Development

Re: [FlexJS, MDL] Layout Problems

2017-02-16 Thread Harbs
Maybe I should create two beads: > > LayoutNotImportantBead > SliderNoLeftMarginBead > > What do the others thing ? > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: > http://apache-fl

Re: [FlexJS, MDL] Layout Problems

2017-02-15 Thread piotrz
Alex, I like the idea! Maybe I should create two beads: LayoutNotImportantBead SliderNoLeftMarginBead What do the others thing ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout

Re: [FlexJS, MDL] Layout Problems

2017-02-15 Thread Alex Harui
Sounds like several folks have build MDL apps. We should survey the code and look for repeating patterns and encapsulate those things as beads, class selectors, etc. Then maybe the answer will become apparent. -Alex On 2/15/17, 12:45 PM, "piotrz" wrote: >Exactly Carlos. > >That's what I'm tr

Re: [FlexJS, MDL] Layout Problems

2017-02-15 Thread piotrz
Exactly Carlos. That's what I'm trying to get - an opinion whether we should provide such things in our library. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layou

Re: [FlexJS, MDL] Layout Problems

2017-02-15 Thread OmPrakash Muppirala
t; Yes, I hope we can get rid of the left margin by default. > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.247.n4.nabble.com/FlexJS-MDL-Layout- > Problems-tp59

Re: [FlexJS, MDL] Layout Problems

2017-02-15 Thread Carlos Rovira
ur default.css? > Cause > when I add it will reolve Yishay issue. > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.247.n4.nabble.com/FlexJS-MDL-Layout- >

Re: [FlexJS, MDL] Layout Problems

2017-02-15 Thread piotrz
displayed with margin = 0; Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59469.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Layout Problems

2017-02-15 Thread OmPrakash Muppirala
As Yishay hinted earlier, we would need to to use !important for display: flex .layout { display: flex !important; } On Wed, Feb 15, 2017 at 12:06 PM, OmPrakash Muppirala wrote: > I have been meaning to add a note asking folks to test out the > FlexTeamPage_MDL project > > https://github.co

Re: [FlexJS, MDL] Layout Problems

2017-02-15 Thread OmPrakash Muppirala
I have been meaning to add a note asking folks to test out the FlexTeamPage_MDL project https://github.com/apache/flex-asjs/tree/develop/examples/flexjs/FlexTeamPage_MDL Wherever I had layout issues, I simply created a container and gave it a className and did all my layout using FlexBox. That i

Re: [FlexJS, MDL] Layout Problems

2017-02-15 Thread piotrz
Carlos, Saying general swc you mean as I mention earlier into our default.css? Cause when I add it will reolve Yishay issue. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems

Re: [FlexJS, MDL] Layout Problems

2017-02-15 Thread Carlos Rovira
Hi, 2017-02-15 20:39 GMT+01:00 piotrz : > > I could add it this code to default.css, but is it something which we > wanted > ? > > my guest is that we should upload this kind of css setups to a general SWC since it will impact others. I think we need more experience in how to layout MDL. we shou

Re: [FlexJS, MDL] Layout Problems

2017-02-15 Thread piotrz
de to default.css, but is it something which we wanted ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59463.html Sent from the Apache Flex Development mailing list archi

Re: [FlexJS, MDL] Layout Problems

2017-02-15 Thread OK
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423p59432.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

[FlexJS, MDL] Layout Problems

2017-02-15 Thread yishayw
ssage in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Layout-Problems-tp59423.html Sent from the Apache Flex Development mailing list archive at Nabble.com.