Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How do I scroll to an ExpandItem in an ExpandBar?(Can't find a suitable method!)
icon5.gif  How do I scroll to an ExpandItem in an ExpandBar? [message #669896] Thu, 12 May 2011 01:22 Go to next message
SBS  is currently offline SBS Friend
Messages: 57
Registered: January 2011
Member
If I have more expand items than fills the client area of the expand bar, how can I scroll to a particular item and put it at the top of the client area? There doesn't appear to be an appropriate scrollTo() or makeVisible() method on either ExpandBar or ExpandItem.

So, I tried getting the vertical scroll bar for the expand bar and setting the selection for it but the thumb moves to the correct position although the bar's contents do not scroll accordingly.

Is this a bug? What's the correct way of doing this?

Thanks,

-sbs
(no subject) [message #670071 is a reply to message #669896] Thu, 12 May 2011 14:44 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
This is not currently implemented. The existing request for this is
https://bugs.eclipse.org/bugs/show_bug.cgi?id=243802 . I don't know of a
workaround to suggest.

Grant


"SBS" <forums-noreply@eclipse.org> wrote in message
news:iqfc8i$jot$1@news.eclipse.org...
> If I have more expand items than fills the client area of
> the expand bar, how can I scroll to a particular item and
> put it at the top of the client area? There doesn't appear
> to be an appropriate scrollTo() or makeVisible() method on
> either ExpandBar or ExpandItem.
>
> So, I tried getting the vertical scroll bar for the expand
> bar and setting the selection for it but the thumb moves to
> the correct position although the bar's contents do not
> scroll accordingly.
>
> Is this a bug? What's the correct way of doing this?
>
> Thanks,
>
> -sbs
Previous Topic:Table Viewer - Can the extra padding on each table cell be removed
Next Topic:How do I scroll to an ExpandItem in an ExpandBar?
Goto Forum:
  


Current Time: Fri Apr 19 06:15:08 GMT 2024

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

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

Back to the top