Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » SashForm SWT.SMOOTH
SashForm SWT.SMOOTH [message #991830] Thu, 20 December 2012 04:44 Go to next message
Tiburon T is currently offline Tiburon T
Messages: 53
Registered: October 2011
Member
Hello!

I am looking for a way to make a SashForm, that constantly repaints its contents while the sash is moved. I read that the style flag SWT.SMOOTH should trigger this behavior... For me it is not working in RAP and unfortunately I have no way to try it in RCP.

Does the RAP SashForm support SWT.SMOOTH or is there a common workaround like a listener or something?
Re: SashForm SWT.SMOOTH [message #991995 is a reply to message #991830] Thu, 20 December 2012 11:16 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1796
Registered: July 2009
Senior Member
Hi,
SWT.SMOOTH is a hint and it is not supported by RAP. As layout is
calculated on the server-side supporting SWT.SMOOTH will generate a lot
of network traffic. If you want to be notified when Sash is dragged use
selection listener. The event detail field will contain SWT.DRAG in this
case.
HTH,
Ivan

On 12/20/2012 11:44 AM, Tiburon Mising name wrote:
> Hello!
>
> I am looking for a way to make a SashForm, that constantly repaints
> its contents while the sash is moved. I read that the style flag
> SWT.SMOOTH should trigger this behavior... For me it is not working in
> RAP and unfortunately I have no way to try it in RCP.
>
> Does the RAP SashForm support SWT.SMOOTH or is there a common
> workaround like a listener or something?

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: SashForm SWT.SMOOTH [message #996490 is a reply to message #991995] Wed, 02 January 2013 02:50 Go to previous message
Tiburon T is currently offline Tiburon T
Messages: 53
Registered: October 2011
Member
Hi,

thank you for your answer. I'm sure with the listener I can find a solution for our SashForm.

Tiburon
Previous Topic:Branding with RAP 1.5
Next Topic:ClientScripting VerifyListener determine keystroke
Goto Forum:
  


Current Time: Tue Sep 02 00:35:07 EDT 2014

Powered by FUDForum. Page generated in 0.11978 seconds