Skip to content

Sketches on Windows don't take UI sizing into account #4894

@benfry

Description

@benfry

Starting with 3.3, the editor scales properly, however the sketch window is another set of issues entirely.

Another issue covers the cross-platform parts of these problems: #4897

This issue is for the Windows integration portion. The most acute issue at the moment is that there doesn't seem to be a way to get the DPI setting without using JNA, so we might have to move JNA into core. But first, it'll be necessary to do more digging through GraphicsDevice in Java2D and Screen in JavaFX to see if there are methods available for this.

Platform.getSystemDPI() is the method that handles this for the PDE. Only the WindowsPlatform has a real implementation, all others return 96.

Metadata

Metadata

Assignees

No one assigned

    Labels

    highWe'd like to fix this as soon as possible

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions