Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » The scroolbar of TreeViewer does jump to the TreeItem in deep levels
The scroolbar of TreeViewer does jump to the TreeItem in deep levels [message #633450] Mon, 18 October 2010 04:42 Go to next message
Owen  is currently offline Owen Friend
Messages: 17
Registered: May 2010
Junior Member
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 07:49 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
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
>
>
Previous Topic:Has anyone successfully built a RAP app using Maven Tycho?
Next Topic:Configure font and color of ExpandItem
Goto Forum:
  


Current Time: Fri Apr 26 13:57:25 GMT 2024

Powered by FUDForum. Page generated in 0.02876 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top