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
When rendering UI in game, NUI does not respect your windows scaling factor (set in your Display settings under "Scale & layout"), in general this is only affects users running on ultra high resolutions such as 3840x2160 with a scale set higher than 100%. The lack of proper scaling results in UI elements appearing uncomfortably small in game, whereas in a browser, they would appear as expected based on the chosen scale. Images below will illustrate this issue.
An interface in FiveM at 3840x2160 with 150% Windows display scaling
The same interface, in a browser at 3840x2160 with 150% Windows display scaling
The same interface, in a browser at 3840x2160 but with 100% Windows display scaling (equal to how it appears in game)
Scaling settings (for context)
Expected result
UI should appear "scaled" as it does when viewed in the browser.
Reproduction steps
Set "scale" in Windows display settings to a value greater than 100%.
View any in game NUI element in FiveM.
View that same NUI element in a browser.
Observe the difference in scaling.
Importancy
Slight inconvenience
Area(s)
FiveM
Specific version(s)
FiveM 11883
Additional information
nui_useFixedSize attempts to solve this issue but does not suffice as a true solution. NUI elements appear blurry, and too large.
The text was updated successfully, but these errors were encountered:
What happened?
When rendering UI in game, NUI does not respect your windows scaling factor (set in your Display settings under "Scale & layout"), in general this is only affects users running on ultra high resolutions such as 3840x2160 with a scale set higher than 100%. The lack of proper scaling results in UI elements appearing uncomfortably small in game, whereas in a browser, they would appear as expected based on the chosen scale. Images below will illustrate this issue.
An interface in FiveM at 3840x2160 with 150% Windows display scaling
The same interface, in a browser at 3840x2160 with 150% Windows display scaling
The same interface, in a browser at 3840x2160 but with 100% Windows display scaling (equal to how it appears in game)
Scaling settings (for context)
Expected result
UI should appear "scaled" as it does when viewed in the browser.
Reproduction steps
Importancy
Slight inconvenience
Area(s)
FiveM
Specific version(s)
FiveM 11883
Additional information
nui_useFixedSize
attempts to solve this issue but does not suffice as a true solution. NUI elements appear blurry, and too large.The text was updated successfully, but these errors were encountered: