I'm using Eclipse and I would like to remove scrollbars from the editor. (I usually partition my screen with multiple opened editors. I want to save space.).
Is there an easy way?
I'm using Windows 7.
Add overflow: hidden; to hide both the horizontal and vertical scrollbar.
To hide the scrollbar in WebKit-based browsers, you have to use the ::-webkit-scrollbar pseudo selector. ::-webkit-scrollbar is a pseudo-element in CSS used by developers to modify the look of a browser's scrollbar. With the ::-webkit-scrollbar pseudo selector, there's a wide range of things you can do to a scrollbar.
Click the File tab. Click Options, and then click the Advanced category. Under Display options for this workbook, clear or select the Show horizontal scroll bar check box and Show vertical scroll bar check box to hide or display the scroll bars.
You can remove this scroll bar by setting the HasScrollBar attribute of the TableField object to FALSE. The syntax for this operation is: field(tablefield).
That an oldie:
Simply put, the StyledText
widget has no API to show scrollbars only when necessary.
This is a SWT limitation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With