OpenTTD/src/game
Peter Nelson e4cf6ca0ba
Fix: Mis-sized widgets due to missing widget fill. (#14370)
In most places where we calculate and set widget resize step we neglect
to set widget fill step to match. Initial widget sizing uses fill step
instead of resize step, which means the initial size may not be a
multiple of the resize step as intended. In particular this will cause
WWT_MATRIX to be misrendered.

Whether or not this matters depends on the widget type being resized and
the window layout, however for consistency always set fill step to the
same as resize step when calculating.
2025-06-17 17:40:11 +01:00
..
CMakeLists.txt Feature: [UI] Split AI/Game Script configuration windows and add them to world gen window (#10058) 2022-11-10 21:39:09 +01:00
game_config.cpp Codechange: Simplify AI/GameConfig::GetConfig. (#13900) 2025-03-26 21:53:05 +00:00
game_config.hpp Codechange: Use std::unique_ptr for ai/game config. 2025-03-26 10:54:11 +00:00
game_core.cpp Codechange: Pass ContentInfo by reference. 2025-04-11 23:08:59 +01:00
game_gui.cpp Fix: Mis-sized widgets due to missing widget fill. (#14370) 2025-06-17 17:40:11 +01:00
game_gui.hpp Feature: [UI] Split AI/Game Script configuration windows and add them to world gen window (#10058) 2022-11-10 21:39:09 +01:00
game_info.cpp Codechange: Remove manual param count for constructors too 2025-06-14 12:41:39 +02:00
game_info.hpp Codechange: Pass Script engine by reference. 2025-04-28 23:08:20 +01:00
game_instance.cpp Fix bd1a3fe0b7: Crash if loading compatibility scripts fails. (#14318) 2025-05-31 19:59:23 +01:00
game_instance.hpp Codechange: replace 'const char *' script API parameters with std::string 2023-05-14 22:54:10 +02:00
game_scanner.cpp Codechange: Pass Script Info by reference. 2025-04-28 23:08:20 +01:00
game_scanner.hpp Codechange: Pass Script Info by reference. 2025-04-28 23:08:20 +01:00
game_text.cpp Codechange: use std::string_view for sq_pushstring 2025-05-03 23:02:09 +02:00
game_text.hpp Codechange: Use TypedIndexContainer for typed index containers 2025-06-12 18:50:49 +01:00
game.hpp Codechange: Pass ContentInfo by reference. 2025-04-11 23:08:59 +01:00