Skip to content

CTabFolder highlight not positioned/sized correctly on zoom != 100% #517

@HeikoKlare

Description

@HeikoKlare

Description
The highlight line of the active/selected CTabFolder item is not positioned correctly when the monitor zoom is not 100%.
For example, on 150% it looks like this (with and without theming):
Image
Image

You see the white area left to above the line, which should not be there.

Reproduction
To reproduce, simply use a 150% monitor, start an SDK and look at the editor tabs.

Expected Behavior
The highlight line shall be properly drawn for every zoom. This applies to both the Platform UI's enhanced CTabRendering as well as when only using SWT's CTabFolderRenderer (when theming is disabled). So the behavior should be checked with both renderers, i.e., with and without theming.
In particular, it shall be ensured that tab icons do not touch the highlight line, such as icon for a Manifest editor tab does when theming is disabled:
Image

Necessary configuration:
150% monitor (or higher)

Metadata

Metadata

Assignees

No one assigned

    Labels

    HiDPIA HiDPI-Related Issue or FeaturePlatform UIIssue for Platform UISWTIssue for SWTVectorIssues specifically relevant for Vector Informatik

    Type

    No type

    Projects

    Status

    👀 In Review

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions