[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: How can I restrict the automatic scrolling with given height and width?

1) Override ViewportAutoExposeHelper's step() method, cache the total
scrolled distance, and don't do anything once you've scrolled past a certain
distance.

2) What are the symptoms of "not working properly"?  Scrolling
(auto-scrolling no less) doesn't affect layout.

"Justin D'aruja" <justinaruja@xxxxxxxxxxxxxxxx> wrote in message
news:cn9mr5$v50$1@xxxxxxxxxxxxxx
> Hello All,
>
>     I have implemented automatic scrolling using
> ViewportAutoexposeHelper class. It is working fine, but I don't want to
> scroll beyond some point.
>
> 1) How can I implement it.
>
> Also during automatic scrolling, the flowLayout with isHorizontal false
> not working properly
>
>    Please advice
>
> Thanks in advance
>
> Justin