Skip to content

Line number remains is too small when setting the zoom with -Dswt.autoScale #2311

@fedejeanne

Description

@fedejeanne

Let's make sure issue is not already fixed in latest builds first.

Steps to reproduce

On a 100% monitor, set these parameters:

-Dswt.enable.autoScale=true
-Dswt.autoScale=150
-Dswt.autoScale.method=nearest

Screenshots

In 4.37
Image

In 4.33

Image

Expected Behavior
The line numbers should fit in the ruler, either they should have the same size as other fonts (preferred outcome) or the ruler should be wider so that the line numbers fit in it.

Tested under this environment:

  • OS & version: Windows 10
  • Eclipse IDE/Platform version (as shown in Help > About): 2025-09 (4.37). Build id: I20250625-2330

Community

  • I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionSomething that used to work

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions