I noticed that the gui is heavily affected by the window size of the game.
For example you set the maximal and minimal_width and height of an element to 100, change the window size and create another one - the size of the new gui element will be different
inconsistent gui sizes
inconsistent gui sizes
- Attachments
-
- guibug.png (25.91 KiB) Viewed 943 times
creator of 55 mods
My api requests/suggestions: ui relative for overlay||Grenade arc||Player Modifiers||textbox::selection||Singleplayer RCON||disable car's ground sounds
My api requests/suggestions: ui relative for overlay||Grenade arc||Player Modifiers||textbox::selection||Singleplayer RCON||disable car's ground sounds
Re: inconsistent gui sizes
The GUI is being scaled by the game,
You can set gui.style.scaleable = false to prevent it
In 0.17 the auto scaling is removed completely, so this issue is resolved in both cases
You can set gui.style.scaleable = false to prevent it
In 0.17 the auto scaling is removed completely, so this issue is resolved in both cases
Re: inconsistent gui sizes
the scaleable property does not work on labels, at least not on the text inside.
creator of 55 mods
My api requests/suggestions: ui relative for overlay||Grenade arc||Player Modifiers||textbox::selection||Singleplayer RCON||disable car's ground sounds
My api requests/suggestions: ui relative for overlay||Grenade arc||Player Modifiers||textbox::selection||Singleplayer RCON||disable car's ground sounds

