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 698 times
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
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.
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance