1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 00:42:45 +01:00
Files
OpenTTD/src
Peter Nelson 9aee502838 Change: Size Game Options description widgets after initial sizing.
Trying to update text widgets with free flowing multiline text during
UpdateWidgetSize(), as the final width is not yet known and so the
calculated height being incorrect, usually resulting in one or more
empty text lines.

The solution is to update the widget heights afterwards during
OnResize(), at which point the final widths are known. The window is
then resized if needed.

(Note this technique needs more attention if width can also change.)
2023-04-25 13:27:22 +01:00
..
2023-04-24 18:40:29 +00:00
2023-04-24 09:17:37 +01:00
2023-02-26 21:28:30 +01:00
2023-02-26 21:28:30 +01:00
2023-02-26 21:28:30 +01:00
2023-02-26 21:28:30 +01:00
2023-02-26 21:28:30 +01:00
2023-01-26 23:47:55 +01:00
2022-11-12 18:28:39 +00:00