| Summary: | Remove "close editor" buttons on tabs | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dotan Cohen <bugs-eclipse-org-20110117> |
| Component: | IDE | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P5 | CC: | daniel_megert, psuzzi, pwebster, remy.suen |
| Version: | 4.2 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Dotan Cohen
-1. This is standard pattern/UI. > This is standard pattern/UI.
>
The option to remove the dangerous Close buttons is no less standard.
I implemented the show-close attribute for CTabItem two years ago for bug 271490. If we were able to tag the tab items then the user would be able to specify this through CSS. Closing as Worksforme, as this is already possible in Eclipse Neon. Removing the Close button is already possible via CSS. As example, see: http://i.stack.imgur.com/NzcPv.gif More details: To remove the close button, first check your Preferences > General, to ensure the Styling is enabled. 1) Locate your current css. In my case the path is: eclipse\plugins\org.eclipse.ui.themes_1.2.0.v20160718-0743\css\e4_classic_win7.css 2) Add the CSS code to disable the close button CTabItem { swt-show-close: false !important; } |