Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Composite with Canvases doesn't scroll
Composite with Canvases doesn't scroll [message #528549] Tue, 20 April 2010 22:17 Go to next message
Eric Jain is currently offline Eric JainFriend
Messages: 266
Registered: July 2009
Senior Member
I have a composite that contains several Canvases that don't quite fit, and would therefore like to show a (vertical) scroll bar.

Setting SWT.V_SCROLL on the composite creates a scroll bar, but moving it doesn't do anything.

Creating a ScrolledComposite and adding the canvases to that doesn't work at all (nothing shows up).

Suggestions?
Re: Composite with Canvases doesn't scroll [message #528552 is a reply to message #528549] Tue, 20 April 2010 22:40 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6501
Registered: July 2009
Senior Member
Then you are using ScrolledComposite not appropriately. Take a look
here: http://www.eclipse.org/swt/snippets/

Tom

Am 21.04.10 00:17, schrieb Eric Jain:
> I have a composite that contains several Canvases that don't quite fit,
> and would therefore like to show a (vertical) scroll bar.
>
> Setting SWT.V_SCROLL on the composite creates a scroll bar, but moving
> it doesn't do anything.
>
> Creating a ScrolledComposite and adding the canvases to that doesn't
> work at all (nothing shows up).
>
> Suggestions?
>
Previous Topic:Aligning button text to the left, yet expand button?
Next Topic:Is this a bug?
Goto Forum:
  


Current Time: Fri Aug 23 04:20:53 GMT 2019

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

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

Back to the top