You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: