The scroolbar of TreeViewer does jump to the TreeItem in deep levels [message #633450] |
Mon, 18 October 2010 00:42  |
Eclipse User |
|
|
|
I have a Tree that has really deep levels (10+). When I keep expanding the TreeItem, the current TreeItem being expanding is focused but the scrollbar will not always make sure the item is in the center. Instead the scroolbar makes the item shows up at the bottom of the TreeViewer.
Way to reproduce:
1. Go to http://codefaces.org/http://github.com/jruby/jruby
2. Expand the tree to src/org/jruby/java/proxy/...
You will notice that the scroll bar always make sure the TreeItem in deep levels shown up at the bottom of the TreeView.
I am wondering what goes wrong with it.
Thanks,
Owen
|
|
|
Re: The scroolbar of TreeViewer does jump to the TreeItem in deep levels [message #633483 is a reply to message #633450] |
Mon, 18 October 2010 03:49  |
Eclipse User |
|
|
|
Hi Owen,
did you test your code in RCP? If your code works as you expected in
RCP, bit not in RAP, it's probably a RAP bug. In this case, please feel
free to open a bugzilla with a snippet to reproduce it.
Thanks,
Ivan
On 10/18/2010 7:46 AM, Owen wrote:
> I have a Tree that has really deep levels (10+). When I keep expanding
> the TreeItem, the current TreeItem being expanding is focused but the
> scrollbar will not always make sure the item is in the center. Instead
> the scroolbar makes the item shows up at the bottom of the TreeViewer.
>
> Way to reproduce:
>
> 1. Go to http://codefaces.org/http://github.com/jruby/jruby
>
> 2. Expand the tree to src/org/jruby/java/proxy/...
>
> You will notice that the scroll bar always make sure the TreeItem in
> deep levels shown up at the bottom of the TreeView.
>
> I am wondering what goes wrong with it.
>
> Thanks,
> Owen
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.18734 seconds