Skip to content

UI Scale #18

Open
Open

Description

@KamiGrave

I've had a couple of issues with the size of my UI images. The one I'm currently having is to do with the UI scale.

What I'm trying to do is have a 480x320 canvas and lay everything out according to that size. Then using the Widget's ScaleBy method to make it fit the screen. The reasoning for this is to simulate a much smaller resolution on a much bigger window.

However, after setting the scale on the parent widget, it appears that the size of everything increases but the absolute position does not. i.e. 10 pixels is still 10 pixels. If the scale were to be 3, I'd expect 10 pixels to be 30 on the child widgets's position.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions