[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: ScrolledComposite doesn't page scroll correctly
|
This sounds like an oversight in ScrolledComposite. It should default to set
the page increment to be the height of the client area. Please enter an
enhancement request against Platform SWT in bugzilla.
"Peter Goetz" <kingofbrain@xxxxxx> wrote in message
news:belmqh$uob$2@xxxxxxxxxxxxxx
> Brad Pardee wrote:
>
> > Hello,
>
> Hi,
>
> >
> > When running the example in the javadoc for ScrolledComposite, if you
> > create enough buttons to make more than a page and then you page up or
> > down using the scrollbar, you get a line scroll instead of a page
scroll.
> > Anybody know how to fix this?
>
> You have to get the Scrollbars for the SC. Then you set the pageIncrement
value
> of the bar to the value you want to have.
>
> >
> > Thanks,
> > Brad
>
> Peter
>
> >
>