I have a scrolled composite ,it contains a tableViewer.
My requirement is that if the table is increased in width,the scroll composite should not show horizontal scroll ,but it should expand to fit table’s size.
The only reason I have used a scrolled composite here is I want to show vertical scroll bar.
I have a scrolled composite ,it contains a tableViewer. My requirement is that if
Share
If you want to control the scrollbars of a
Tablein SWT – which is a sub-class ofScrollable– simply add one or more of the following styles in the constructor. If you construct a Viewer, the same styles are used.SWT.H_SCROLLSWT.V_SCROLLSWT.NO_SCROLL