Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

[Windows] HiDPI support on JVM 9+ #46

@ForNeVeR

Description

@ForNeVeR

Currently, StandardWidgetToolkit autnehtication provider gets automatically selected on JVM 9+ (because JavaFX is not usually available on these versions of Java). But it has some DPI problems on Windows. The authentication window looks like that:

image

(note the misplaced elements and unreadable font size in the footer)

It is a known problem of older SWT builds, e.g. see SWT bug 493666.

What's interesting here is that the issue seems to be fixed in newer SWT versions. Updating SWT to <swt.version>4.6.1</swt.version> in the parent pom.xml fixed the issue for me completely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions