adventuregamestudio / ags-manual

AGS documentation.
https://adventuregamestudio.github.io/ags-manual/
MIT License
26 stars 9 forks source link

Document undocumented text wrapping algorithms #103

Open ghost opened 4 years ago

ghost commented 4 years ago

Sometimes it is wanted to replicate behavior of a GUI controls in AGS, in how they wrap text. (for instance you want to precalculate future text height and set label's height appropriately).

This is nowhere documented, and may require research in the engine code.

Something I remember:

ivan-mogilko commented 1 week ago

Mentioned GetTextHeight mistake in its article.

Also documented GUI Label behavior, although it's deprecated since 3.6.0.