Skip to content

Allow setting minimum and maximum or fixed aspect ratio #584

@casey

Description

@casey

I'm not sure if this can be done in a cross-platform way, but it would nice to be able to set the minimum and maximum aspect ratio, or specify a fixed aspect ratio that the window must maintain.

Specifically, I'm writing some games/pixel rendering demos that operate at a specific pixel resolution, and it would be able to lock the window to the aspect ratio of the output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DS - appkitAffects the AppKit/macOS backendDS - win32Affects the Win32/Windows backendDS - x11Affects the X11 backend, or generally free Unix platformsS - enhancementWouldn't this be the coolest?

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions