0ad/source
Vantha 8a2a450686 Align text as usual if the scrollbar is invisible
Previously, while `scrollbar` was set to true, the text was always
vertically aligned to the top, no matter what its `text_valign` was, by
the scrolling logic. However, this was done even when the text's caption
was so short that no scrollbar was required in the first place (and not
rendered). Falling back to the specified `text_valign` value in that case
instead seems like the expected behavior.

On a few occasions in the GUI, the text was supposed to be aligned to
the top in either case, but still set `text_valign` to a different value
(for whatever reason), which didn't have any effect previously. But
now since it does, the values have to be corrected to specify what is
actually desired.
2026-04-06 21:39:18 +02:00
..
collada Fix some includes all over the place 2025-08-14 20:15:30 +02:00
dapinterface Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
graphics Only render the minimap texture if it'll be displayed 2026-03-03 11:25:52 +01:00
gui Align text as usual if the scrollbar is invisible 2026-04-06 21:39:18 +02:00
i18n Reduces boost usage for strings 2025-10-16 09:17:05 +02:00
lib Add nominal support for LoongArch64 and RISC-V 64 2026-03-23 08:20:10 +01:00
lobby Remove Script::CreateArray 2026-02-08 19:27:50 +01:00
maths Avoid SIGBUS error in the MD5 implementation on ARMv7 (armhf) 2026-03-23 08:20:10 +01:00
mocks Fix some includes all over the place 2025-08-13 19:38:21 +02:00
network Use promises to fetch net messages 2026-03-13 18:07:56 +01:00
pch Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
ps Add nominal support for LoongArch64 and RISC-V 64 2026-03-23 08:20:10 +01:00
renderer Move cutscene mode to renderer 2026-03-03 11:25:52 +01:00
rlinterface Use cpp-httplib instead of mongoose 2026-01-24 10:45:48 +01:00
scriptinterface Remove Script::CreateArray 2026-02-08 19:27:50 +01:00
simulation2 Remove pointless const's from ICmpCinemaManager.h 2026-03-24 11:15:27 +01:00
soundmanager SoundManager: reintroduce manual memory management 2025-10-13 20:42:32 +02:00
third_party Removes GL extensions for ARB backend 2026-02-20 22:07:40 +01:00
tools Revamp CinemaManager component 2026-03-03 11:25:52 +01:00
CxxTestRunner.tpl Use return instead of exit in testrunner 2025-10-15 18:17:24 +02:00
main.cpp Readd JS API function Engine.Exit() 2026-01-29 20:03:56 +01:00
test_setup.cpp Remove ScriptContext::CreateContext 2026-01-24 12:03:05 +01:00