Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » In NatTable hide horizontal scrollbar with out disturbing vertical scrolling(In NatTable how to hide horizontal scrollbar with out disturbing vertical scrolling)
In NatTable hide horizontal scrollbar with out disturbing vertical scrolling [message #1736138] Mon, 27 June 2016 05:13 Go to next message
mahika kshirsagar is currently offline mahika kshirsagarFriend
Messages: 1
Registered: June 2016
Junior Member
In NatTable how to hide horizontal scrollbar with out disturbing vertical scrolling feature, I have tried removing ViewportLayer , but this is disabling vertical scrolling also and the scroller are still visible.

Please let me know how to do this.
Re: In NatTable hide horizontal scrollbar with out disturbing vertical scrolling [message #1736193 is a reply to message #1736138] Mon, 27 June 2016 12:20 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2902
Registered: July 2012
Senior Member
Create the NatTable with customized style bits without V_SCROLL and ensure to disable the vertical scrollbar in the ViewportLayer

NatTable natTable = new NatTable(panel, 
                SWT.NO_BACKGROUND | SWT.NO_REDRAW_RESIZE | SWT.DOUBLE_BUFFERED | SWT.H_SCROLL);
...
viewportLayer.setVerticalScrollbarEnabled(false);


Previous Topic:Nattable with "horizontal tree" structure
Next Topic:Change localization of search mask
Goto Forum:
  


Current Time: Tue Apr 23 15:54:02 GMT 2024

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

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

Back to the top