Re: [FlexJS] Horizontal list missing scrollbar

2017-02-28 Thread Alex Harui
On 2/28/17, 5:52 PM, "Justin Mclean" wrote: > >> It isn't wrong, it just may not be what you need for your app. If you >>add >> a property that has to be checked, that's a bit more code than making >> assumptions about what kind of overflow you want. > >AFAIKS it's less code and less of a maint

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-28 Thread Justin Mclean
Hi, > Maybe look for examples where there is vertical scrolling, see how it is > built, and try to copy the patterns. The pattern I tried was the same ie add a ScrollingViewPort. > Well, that seems to be the trend at least on Mac? For page content that is obviously cut off sure, but IMO not for

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-28 Thread Alex Harui
On 2/26/17, 12:41 AM, "Justin Mclean" wrote: >Hi, > >> Again, probably DAYG (Do As You Go). > >Fair enough. Some pointers how to fix this or where to look at where to >fix this would be helpful. Maybe look for examples where there is vertical scrolling, see how it is built, and try to copy the

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-26 Thread Harbs
I’m not sure why you’re getting that error. Maybe there’s some env variable not set correctly. FWIW, here’s the script I run to set my env variables prior to building using ant: #!/bin/sh export FALCON_HOME=/Users/harbs/Documents/ApacheFlex/flex-falcon/compiler export FLEXUNIT_HOME=/Users/harbs

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-26 Thread Justin Mclean
Hi, Thanks Harbs for that. I must have something wrong with my set up as I get this when I try to compile: [INFO] Executing COMPC in tool group FlexJS with args: [-load-config=/Users/justinmclean/flex-asjs/frameworks/projects/HTML/target/compile-js-config.xml, -js-output-type=FLEXJS, -compiler.

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-26 Thread Harbs
True. We need people to document things. Whatever you can document as you go will be very valuable. > On Feb 26, 2017, at 10:41 AM, Justin Mclean wrote: > >> Not all bugs will be fixed right away. We just don't have enough people. >> We need more code contributors. > > So we should be coming

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-26 Thread Harbs
I’m not sure what error you got. I just did this, and it compiled OK. (I did not test it, and there probably needs some more to be done on the SWF side.) // // Licensed to the Apache Software Foundation (ASF) under

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-26 Thread Justin Mclean
Hi, > Again, probably DAYG (Do As You Go). Fair enough. Some pointers how to fix this or where to look at where to fix this would be helpful. In general people unfamiliar with the framework may need some help if they don't know where to look they probably not going to fix the framework but jus

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-25 Thread Alex Harui
On 2/25/17, 8:52 PM, "Justin Mclean" wrote: >Hi, > >Is there anyway to make horizontal and vertical scrollbars allways show? >A overflow:scroll should do it but it looks like you can’t directly apply >styles to the container (positioner?) that has the scroll bars. Adding >this style to the cont

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-25 Thread Justin Mclean
Hi, Is there anyway to make horizontal and vertical scrollbars allways show? A overflow:scroll should do it but it looks like you can’t directly apply styles to the container (positioner?) that has the scroll bars. Adding this style to the container that has the scrolled content has no effect.

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-24 Thread Harbs
These seem relevant: http://stackoverflow.com/questions/19212188/avoid-line-break-between-html-elements http://stackoverflow.com/questions/5078239/how-to-remove-the-space-between-inline-block-elements The takeaway seems to be that unless it’s set to no-break, HTML will always break between elemen

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-24 Thread Harbs
I’m not sure, but I think HTML treats separate elements as if there’s whitespace between. Worth looking into… > On Feb 24, 2017, at 9:41 AM, Alex Harui wrote: > > FWIW, I've been wondering: Does anybody know why there is whitespace when > we call appendChild() on these children? The HTML loo

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-24 Thread Harbs
I just tried and it worked. I just committed the change. I use ant. I have a script which copies changes from dev to my nightly sdk using rsync. I run it every time I rebuild any part of the source. This lets me build individual projects, the whole asjs, or everything including falcon (ant all

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-23 Thread Alex Harui
FWIW, I've been wondering: Does anybody know why there is whitespace when we call appendChild() on these children? The HTML looks like: with no whitespace between. I don't think there is a TextNode in there, but I could be wrong about that. Is it just not possible to not have whitespace betwe

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-23 Thread Justin Mclean
Hi, > Can you try adding “white-space: nowrap;” to HContainer in the defaults.css > file in the HTML project? Tried and it didn’t work. The attribute isn’t showing up in the generated html so I could of done something wrong I guess. Steps were I edited [1], mvn compile flex-asjs, mvn installed

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-23 Thread Harbs
Justin, Can you try adding “white-space: nowrap;” to HContainer in the defaults.css file in the HTML project? Theoretically, that should fix the problem. Thanks, Harbs > On Feb 24, 2017, at 9:01 AM, jus...@classsoftware.com wrote: > > Hi, > > And the issue is each of the images is display

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-23 Thread justin
Hi, And the issue is each of the images is display inline-block this will by default wrap unless you add white-space nowrap to the container. Just do this to fix:

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-23 Thread Justin Mclean
Hi, Just in case it helps here’s a simpler program (no List) that has the name issue: http://ns.adobe.com/mxml/2009"; xmlns:js="library://ns.apache.org/flexjs/basic">

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-23 Thread Justin Mclean
Hi, > Are you documenting your experience somewhere? That could be very useful. I try to follow up on the list/in JIRA with any workarounds to issues I’ve running but I’m also keeping a list of the issues I’ve run into and any workarounds I’ve found. Happy to share - may be useful for you tal

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-23 Thread Harbs
Justin, Are you documenting your experience somewhere? That could be very useful. Thanks, Harbs > On Feb 23, 2017, at 1:06 PM, Justin Mclean wrote: > > Hi, > >> DAYG is excellent. I also advocate R(eport)AYG. > > + 1 Reporting and hopefully documenting workarounds helps everyone one short >

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-23 Thread Justin Mclean
Hi, > DAYG is excellent. I also advocate R(eport)AYG. + 1 Reporting and hopefully documenting workarounds helps everyone one short term. Not everyone has the skills or indepth knowledge of the framework or time to be able to fix all the bugs they may find and not every bug is going to be fixed

Re: [FlexJS] Horizontal list missing scrollbar

2017-02-23 Thread Justin Mclean
Hi, > Expect lots of bugs and missing features. Or I could just be using it wrong :-) It’s not always 100% obvious if something is a bug or user error. Thanks, Justin

RE: [FlexJS] Horizontal list missing scrollbar

2017-02-22 Thread Yishay Weiss
com> Sent: Thursday, February 23, 2017 9:09 AM To: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: Re: [FlexJS] Horizontal list missing scrollbar On 2/22/17, 2:44 PM, "Justin Mclean" wrote: >Hi, > >Anyone have any ideas here? Expect lots of bugs and missing fe

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] 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