You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove curved tab support from CTabFolder and CTabFolderRenderer
Curved tabs are no longer supported. This change simplifies the rendering
logic by enforcing square corners and removing all curve-related calculations
and legacy highlight gradients.
CTabFolder:
* Deprecate getSimple() and setSimple(boolean); make setSimple() a no-op.
* Remove setSelectionHighlightGradientColor and all usages.
* Remove layout adjustments based on curve dimensions (curveIndent).
CTabFolderRenderer:
* Remove curve-related fields (curve, curveWidth, curveIndent, etc.).
* Remove selection highlight caching and associated gradient methods.
* Delete obsolete no-op methods: updateCurves(), drawHighlight(),
disposeSelectionHighlightGradientColors().
* Simplify rendering: replace all corner constants with EMPTY_CORNER,
enforce square corners regardless of the simple flag.
Examples/tests:
* Remove simpleTabButton from CTabFolderTab control example.
* Remove setSimple() call from Bug221962 test snippet.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments