0ad/binaries/data/mods/mod/gui/common
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
..
modern Align text as usual if the scrollbar is invisible 2026-04-06 21:39:18 +02:00
functions_msgbox.js Rename PushGuiPage to OpenChildPage 2025-03-09 10:39:20 +01:00
guitags.js Fix eslint rule 'prefer-const' in modmod 2025-05-06 13:49:13 +02:00
l10n.js Fix autofixable eslint warnings for eqeqeq 2025-06-26 11:03:19 +02:00
mod.js Allow mods to say they should be ignored in replay/MP compatibility checks 2021-06-02 06:50:16 +00:00
terms.js Fix eslint rule 'prefer-const' in modmod 2025-05-06 13:49:13 +02:00
utilities.js Use @stylistic/brace-style for eslint 2026-01-12 21:33:52 +01:00