Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
Hi,

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

Tiburon
Previous Topic:Getting resize events from js
Next Topic:RAP vs SWT Selection Listener for singleton menus
Goto Forum:
  


Current Time: Tue Jul 22 21:09:07 EDT 2025

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

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

Back to the top