wesnoth/data
Charles Dang 33f8dfd7a1 GUI2/Outro: fix text not wrapping (resolves #6041)
Part of what's unusual about this dialog is we use canvas shapes to draw the text rather than actual widgets. I want to look into doing so, but it makes alpha fading more difficult.

Nonetheless, this problem also arose because text wrapping is handled differently from other text shape keys. Instead of evaluating a formula taken from the config (for instance `"(text_wrap_mode)"`), the value is queried from the WFL variables set on the canvas directly before being passed to the text rendering code. The value set for said variable is controlled by the wrap=true/value key, which is set per widget *instance*.

Making the canvas handle this key like any other would mean making sure most text shapes have the appropriate config key set, even if (as the example above shows) the key only spit out the formula variable anyway.

Also made it so text doesn't go all the way to the edge in the event that it stretches that long.
2025-01-05 19:44:21 -05:00
..
ai
campaigns EI S06a: improve death and endlevel events (#9700) 2025-01-05 08:53:21 -06:00
core Move custom AMLAs from EI to core (#9635) 2024-12-28 07:07:14 -06:00
gui GUI2/Outro: fix text not wrapping (resolves #6041) 2025-01-05 19:44:21 -05:00
hardwired
languages German translation update 2024-12-19 02:19:20 +01:00
lua Update message.lua 2024-12-20 20:57:48 -05:00
modifications/pick_advance
multiplayer
schema return pbl author attribute to its original usage 2024-12-14 18:49:32 -06:00
test add recursion_guard in [filter_(second_)weapon] for [leadership] and [resistance] abilities. 2024-11-11 14:32:05 +01:00
themes
tools Fixed a flag description in wmllint and GUI.pyw 2024-12-31 15:07:15 +01:00
_main.cfg
achievements.cfg
advanced_preferences.cfg add preference to not get addon icons 2024-12-19 11:54:14 -06:00
COPYING.txt
cores.cfg
english.cfg
game_config.cfg More New Titlescreen Images (#9466) 2024-10-30 11:30:28 -04:00
lan_server.cfg
modifications.cfg
tips.cfg update some tips based on recent changes 2025-01-01 15:21:34 +05:30