Skip to main content


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 12:29 Go to next message
Ingo Meyer is currently offline Ingo MeyerFriend
Messages: 162
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 18:51 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
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 15:42 Go to previous message
Ingo Meyer is currently offline Ingo MeyerFriend
Messages: 162
Registered: July 2009
Senior Member
Thank Ivan, that helped.

I must admit I should have known this Smile

~Ingo
Previous Topic:Label SWT.WRAP will not work with RWT.MARKUP_ENABLED
Next Topic:Eclipse Juno RAP problem
Goto Forum:
  


Current Time: Fri Apr 26 21:48:43 GMT 2024

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

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

Back to the top