Skip to content

Remove legacy SORT_WIDTH spacing logic in SWT.Table #430

@ShahzaibIbrahim

Description

@ShahzaibIbrahim

Description
In Windows XP, the sort indicator for table columns was drawn next to the column header text, which required SWT to add extra horizontal space (SORT_WIDTH) when rendering.

Since Windows 7, the sort indicator has been rendered above the column header text. This makes the additional SORT_WIDTH spacing unnecessary and causes unwanted padding in table column headers on modern platforms.

Proposed Change

Remove the extra SORT_WIDTH spacing logic in Table column rendering.

Ensure that sort indicators continue to render above the column header text without overlap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HiDPIA HiDPI-Related Issue or FeatureSWTIssue for SWT

    Type

    Projects

    Status

    ✅ Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions