ankurtr ankurtr - 2 years ago 114
Java Question

How to disable horizontal scroll bars in the swt table?

To disable vertical scroll bar i used the following syntax


But it is not working. It is ruining my application ui. How can i disable it?

Answer Source

You can't prevent the Table from showing its scrollbars if it wants to. However, if you give the table the space it requires, it should have to display any scrollbars.

Note: You can simply use SWT.NO_SCROLL in the constructor but if you want to update it later it won't be possible.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download