Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to chnage the width of a ScrolledComposite
How to chnage the width of a ScrolledComposite [message #1833247] Wed, 07 October 2020 16:00 Go to next message
Samuel Abramov is currently offline Samuel AbramovFriend
Messages: 5
Registered: August 2019
Junior Member
I have a small Panel inside my RAP Application with horizontal and vertical scrollbars.

The Problem is, that they are to thin. I want to make the scrollbars more in width.

I tried .getVerticalBar().setThumb(50); And some other values but without any results.

How I can do it?



Re: How to chnage the width of a ScrolledComposite [message #1833300 is a reply to message #1833247] Thu, 08 October 2020 14:48 Go to previous messageGo to next message
Sebastian Habenicht is currently offline Sebastian HabenichtFriend
Messages: 42
Registered: January 2013
Member
This can be achieved through RWT theming: [1] - here is the list of themeable widgets: [2] - width is one of the available CSS properties for ScrollBar (other parts of a scroll bar are also themable).

[1] https://www.eclipse.org/rap/developers-guide/devguide.php?topic=theming.html&version=3.14
[2] https://download.eclipse.org/rt/rap/doc/3.14/guide/reference/theming/index.html
Re: How to chnage the width of a ScrolledComposite [message #1833306 is a reply to message #1833300] Thu, 08 October 2020 16:43 Go to previous message
Samuel Abramov is currently offline Samuel AbramovFriend
Messages: 5
Registered: August 2019
Junior Member
Thank you so much.

Previous Topic:How to catch expire session?
Next Topic:RAP e4 3.14 and clipboard
Goto Forum:
  


Current Time: Wed Apr 24 20:03:15 GMT 2024

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

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

Back to the top