|
Re: Has ScrollBar different behaviour in SWT and RWT? [message #1064478 is a reply to message #1064474] |
Wed, 19 June 2013 12:58 |
Ivan Furnadjiev Messages: 2426 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Andreas,
as you don't have complaint about RAP behavior, maybe the RCP forum is a
better place to ask this question :-) . Please keep as informed if you
find something about the problem.
Thanks,
Ivan
On 6/19/2013 3:39 PM, Andreas Kulzer wrote:
> Hello,
>
> I found out, that ScrollBar has different behaviour in SWT and RWT.
> Strange to say, that ScrollBar´s behaviour in RWT is more correct as
> in SWT?!?!
> The Problem:
> With RWT the following code works as expected:
>
>
> oScrolledForm.pack();
> oScrolledForm.getVerticalBar().setSelection(100);
>
>
> With SWT the following happens:
> 1) when I call pack() before setSelection(100), nothing happens, the
> scrollBar cannot be manipulated
> 2) when I DO NOT call pack() before setSelection(100), the scrollBar
> gets scrolled down, but the content in the ScrolledForm doesn´t scroll
> down.
>
> What I do wrong?
> Or is it a Bug?
> Is there any workaround?
>
>
> Thx
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
Powered by
FUDForum. Page generated in 0.01897 seconds