Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Scale #18

Open
KamiGrave opened this issue Jun 21, 2017 · 0 comments
Open

UI Scale #18

KamiGrave opened this issue Jun 21, 2017 · 0 comments

Comments

@KamiGrave
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant