Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to disable scrollbars in RAP 2.0M2
How to disable scrollbars in RAP 2.0M2 [message #977618] Fri, 09 November 2012 07:29 Go to next message
Ingo Meyer is currently offline Ingo Meyer
Messages: 115
Registered: July 2009
Senior Member
Hi guys,

I read a lot about the long way to support scrolling on tablets or smartphones.
But one important thing is missing.
How can I disable the scrollbars???

I get them even without using SWT.H_SCROLL | V_SCROLL in my tree or tables.
I think this should not be the case.
Can anybody confirm that you always get scrollbars or am I doing something wrong?

How to theme the scrollbars in trees/tables by CSS?
Can they be removed programatically? I read something about setting the width to 0.

Any help is really appreciated

~Ingo
Re: How to disable scrollbars in RAP 2.0M2 [message #977985 is a reply to message #977618] Fri, 09 November 2012 13:51 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1773
Registered: July 2009
Senior Member
Hi Ingo,
in Tree and Table the style flag to disable the scrollbars is SWT.NO_SCROLL.
HTH,
Ivan

On 11/9/2012 2:29 PM, Ingo Meyer wrote:
> Hi guys,
>
> I read a lot about the long way to support scrolling on tablets or
> smartphones.
> But one important thing is missing.
> How can I disable the scrollbars???
>
> I get them even without using SWT.H_SCROLL | V_SCROLL in my tree or
> tables.
> I think this should not be the case.
> Can anybody confirm that you always get scrollbars or am I doing
> something wrong?
>
> How to theme the scrollbars in trees/tables by CSS?
> Can they be removed programatically? I read something about setting
> the width to 0.
>
> Any help is really appreciated
>
> ~Ingo

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: How to disable scrollbars in RAP 2.0M2 [message #979067 is a reply to message #977985] Sat, 10 November 2012 10:42 Go to previous message
Ingo Meyer is currently offline Ingo Meyer
Messages: 115
Registered: July 2009
Senior Member
Thank Ivan, that helped.

I must admit I should have known this Smile

~Ingo
Previous Topic:Where can I download the file upload jars
Next Topic:GUI Testing in RAP
Goto Forum:
  


Current Time: Wed Jul 23 10:06:40 EDT 2014

Powered by FUDForum. Page generated in 0.12729 seconds