Sankar,
I may be wrong but I think that your item renderer in "Tabs" will be
responsible for scrolling. Look into my example and try to play with item
renderer added there.
How did you create scrollers in TabBar cases?
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this
Hi,
I have a container with a ScrollingViewport. How do you listen to scroll events
on teh content?
As far asI can see the scale event don't bubble and because of the added
containers on the JS side you need to do something ugly like this:
On 2/27/17, 10:45 PM, "Justin Mclean" wrote:
>Hi,
>
>>> I also tried MultilineLabel as far as I can see ignores any new lines
>>>in
>>> it content. Is this a bug?
>>
>> Not sure. How do you specify a new line in a regular HTML Span, and did
>> you use the same
Hi,
>> I also tried MultilineLabel as far as I can see ignores any new lines in
>> it content. Is this a bug?
>
> Not sure. How do you specify a new line in a regular HTML Span, and did
> you use the same thing?
With spans you don't as they are inline elements.
In HTMl you would normal use a
On 2/27/17, 8:45 PM, "Justin Mclean" wrote:
>Hi,
>
>What is the FlexJS component you should use for large blocks of text?
>
>I first try TextArea and it does however support newlines in the content,
>but the text is editable. Should support be added for a readonly
Oh yeah, forgot about that.
I thought this code worked at one point, maybe four or five years ago, but
I was unable to find out when browsers started blocking it, so we can
truly understand if it will never be needed again or will be needed on
some older browser.
It could be the right answer is
On 2/27/17, 10:45 AM, "piotrz" wrote:
>Hi All,
>
>I'm exploring ArrayList and I was wondering why dispatched events new
>Event("itemRemoved") do not contains removed item ? Is it for purpose ?
>
>It's hard to implement logic after change when I don't know actually
Hi,
So one, probably ill conceived and hacky, work-around would be to do this:
” />
Anyone think of anything better?
Thanks,
Justin
Hi Piotr,
Sorry, it's my bad. I missed a few previous comments of yours. I understand
now what you were talking about.
But if I'm not wrong, Tab does not have scrolling feature (when there's
enough tabs) like TabBar does. Or, does it has any such?
Thanks!
--
View this message in context:
Hi,
What is the FlexJS component you should use for large blocks of text?
I first try TextArea and it does however support newlines in the content, but
the text is editable. Should support be added for a readonly property?
I also tried MultilineLabel as far as I can see ignores any new lines
Justin logged a bug here and I encountered the same issue:
https://issues.apache.org/jira/browse/FLEX-35271
At first glance this seems like a real quick fix, just delete the two lines
from :
if (contentData) {
element.setRequestHeader('Content-length', contentData.length.toString());
Hi,
> QUESTION: In your Flex apps, do you need to place chrome elements besides
> using a Panel?
A few times but reasonably rare. Think the last time was a little “x" that
showed up when mouse was in the corner.
> I'm getting hung up with the nesting of the containing elements and I think
>
Hi,
I've been wrestling with Container all day. I was working on the Flex layouts,
but then went down the rabbit hole of Containers while trying to get the
layouts to look right.
The issue really isn't the HTML/JS side. That's pretty easy really (in
concept). A FlexJS Container's element is a
Hi All,
I'm exploring ArrayList and I was wondering why dispatched events new
Event("itemRemoved") do not contains removed item ? Is it for purpose ?
It's hard to implement logic after change when I don't know actually what
has been removed or added to the array.
Can it be changed? I saw
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.
Sankar,
I'm not sure what you are asking for ? I provided example which I have
mentioned in new thread you can find link.
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
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,
IMO, you could create a DPCNWithAddRemoveEvents and do what you propose.
Some apps are totally fine with a brute-force "re-do everything", some,
via PAYG, do need more information and are willing to do more work to
avoid re-doing everything.
Yes, there are flavors like DPCNWithAddEvents that
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
Hi Piotr,
Is your last comment before the JIRA issue you closed or after?
Thanks!
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Add-Remove-item-s-to-TabBar-tp59508p59896.html
Sent from the Apache Flex Development mailing list archive at
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
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
Thank you!
Once I fix "DataProviderChangeNotifier" it will be even better. Currently
each add item ends up with removeAll tabs and recreate them - It should just
add/remove Tab.
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
Hi Piotr,
that looks fantastic, thanks! :)
2017-02-26 23:54 GMT+01:00 piotrz :
> Hi All,
>
> I just added "MDLDynamicTabsExample" example which illustrate how to create
> "Tab" dynamically in our MDL library. [1]
>
> [1]
>
24 matches
Mail list logo