Skip to content

Fix GUI scaling to avoid gaps around GUI when width isn't a multiple of scaling #177

Open

Description

@stackotter

At the moment, the GUI constraint solving code (for calculating GUI layout) just always works at 1 times scale and the result gets scaled up by a factor. This means that if the screensize isn't a multiple of the GUI scale then there's a gap on the bottom and left of the GUI (i.e. the hotbar will be a pixel from the bottom of the screen, and an overlay won't extend all the way to the bottom right corner).

To fix this, the constraints system will probably have to be scaling-aware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions