You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by mo...@comcast.net on 2013/09/03 16:11:13 UTC
workaround for Flex TextArea scroller thumbwheel not reaching ends?
I'm on SDK 4.5.1 and running in debugger flash player, and observing when using spark TextArea component that the vertical scroller doesn't reach the top and bottom of the limits of the scroller component when using the mouse thumbwheel (although, one can click and drag the scroller manually to reach the ends of the scroller window).
This is only noticeable/problematic when the paddingTop and/or paddingBottom properties are somewhat large. The result being, the thumbwheel-scroller control doesn't allow one to view the padding space. Not sure if this is by design.
There seems to be some default padding in the examples shown here,
http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7fd3.html
which, if you carefully observe when entering enough text to cause the vertical scroller to appear, the thumbwheel-control doesn't allow one to get to the extreme ends of the scroller window. Again, this is barely noticeable for small (e.g. the default) padding. I use 20 px paddingTop and bottom and it looks odd to the user.
Just wondering if anyone knows a workaround for this artifact. Thanks in advance for any comments.
Re: workaround for Flex TextArea scroller thumbwheel not reaching ends?
Posted by Evyatar Ben Halevi-Arbib <ev...@gmail.com>.
Hey,
My solution to scrolling issues is described here -
http://evyatar-flex.blogspot.co.il/2013/05/improved-scrolling-of-richeditabletext.html
In my case it was RichEditableText, but my solution might work for you as
well (extend TextArea and override getVerticalScrollPositionDelta function).
Good luck,
Evyatar
On Tue, Sep 3, 2013 at 5:11 PM, <mo...@comcast.net> wrote:
> I'm on SDK 4.5.1 and running in debugger flash player, and observing when
> using spark TextArea component that the vertical scroller doesn't reach the
> top and bottom of the limits of the scroller component when using the mouse
> thumbwheel (although, one can click and drag the scroller manually to reach
> the ends of the scroller window).
>
> This is only noticeable/problematic when the paddingTop and/or
> paddingBottom properties are somewhat large. The result being, the
> thumbwheel-scroller control doesn't allow one to view the padding space.
> Not sure if this is by design.
>
> There seems to be some default padding in the examples shown here,
>
>
> http://help.adobe.com/en_US/flex/using/WS02f7d8d4857b1677-165a04e1126951a2d98-7fd3.html
>
> which, if you carefully observe when entering enough text to cause the
> vertical scroller to appear, the thumbwheel-control doesn't allow one to
> get to the extreme ends of the scroller window. Again, this is barely
> noticeable for small (e.g. the default) padding. I use 20 px paddingTop and
> bottom and it looks odd to the user.
>
> Just wondering if anyone knows a workaround for this artifact. Thanks in
> advance for any comments.
>
>