Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove/hide vertical and horizontal scrollbars from eclipse editor?

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.

like image 740
TheSource Avatar asked Mar 12 '10 18:03

TheSource


People also ask

How do I disable vertical and horizontal scroll bars?

Add overflow: hidden; to hide both the horizontal and vertical scrollbar.

How do I get rid of the hidden scroll bar?

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.

How do I make the horizontal scroll bar disappear?

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.

How do I get rid of the vertical scroll bar on my table?

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).


1 Answers

That an oldie:

  • bug 27096 mentions the presence of scrollbar for StyleText since 2003, and is a duplicate for:
  • bug 34928 - Editors show scrollbars even when source has just 1 line with 1 char (also 2003)

Simply put, the StyledText widget has no API to show scrollbars only when necessary.
This is a SWT limitation.

like image 193
VonC Avatar answered Sep 25 '22 12:09

VonC