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
Oops turns out I had HUD scaling off which made SimpleUI components look out of place (fonts were being scaled up but widgets were not).
The font size issue is probably because the font template uses width instead of height.
localsize=screen_w/100
Idk if this is worth changing.
SimpleUI position and size values are scaled like so:
The issue is that UIResolutionScale returns a single value and assumes the screen is 16:9.
A friend and I have non-standard aspects (21:9, 32:9) - wider than 1080p but the same height. The result is that the scaling is wrong. For example, on 3840x1080, UIResolutionScale returns 2, which is correct for width but not for height.
This can be resolved by calculating scale as two values
The text was updated successfully, but these errors were encountered:
Oops turns out I had HUD scaling off which made SimpleUI components look out of place (fonts were being scaled up but widgets were not).
The font size issue is probably because the font template uses width instead of height.
Idk if this is worth changing.
SimpleUI position and size values are scaled like so:The issue is thatUIResolutionScale
returns a single value and assumes the screen is 16:9.A friend and I have non-standard aspects (21:9, 32:9) - wider than 1080p but the same height. The result is that the scaling is wrong. For example, on 3840x1080,UIResolutionScale
returns 2, which is correct for width but not for height.This can be resolved by calculating scale as two valuesThe text was updated successfully, but these errors were encountered: