Skip to content

Commit 162aba1

Browse files
vogellaclaude
andcommitted
Remove round tabs support from CTabRendering
Removes the CSS-based rounded tab rendering feature from CTabRendering. This includes the swt-corner-radius CSS property, the CirclePart enum and circle drawing methods, the cornerSize field, and all round-tab rendering branches in drawTabBody, drawSelectedTab, and drawUnselectedTab. Also removes the USE_ROUND_TABS preference, the corresponding UI checkbox in ViewsPreferencePage, and the CSSPropertyCornerRadiusSWTHandler class. Fixes #3806 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e1fe34e commit 162aba1

File tree

8 files changed

+35
-502
lines changed

8 files changed

+35
-502
lines changed

bundles/org.eclipse.e4.ui.css.swt/plugin.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,6 @@
8787
name="background-color">
8888
</property-name>
8989
</handler>
90-
<handler
91-
adapter="org.eclipse.e4.ui.css.swt.dom.CTabFolderElement"
92-
composite="false"
93-
handler="org.eclipse.e4.ui.css.swt.properties.custom.CSSPropertyCornerRadiusSWTHandler">
94-
<property-name
95-
name="swt-corner-radius">
96-
</property-name>
97-
</handler>
9890
<handler
9991
adapter="org.eclipse.e4.ui.css.swt.dom.CTabFolderElement"
10092
composite="false"

bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/properties/custom/CSSPropertyCornerRadiusSWTHandler.java

Lines changed: 0 additions & 48 deletions
This file was deleted.

bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/internal/css/swt/ICTabRendering.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ public interface ICTabRendering {
3838

3939
void setOuterKeyline(Color color);
4040

41-
void setCornerRadius(int radius);
42-
4341
/**
4442
* Sets whether to use a custom tab background (reusing tab colors and
4543
* gradients), or default one from plain CTabFolder (using widget background

0 commit comments

Comments
 (0)