mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
Retail's contract, probed on 5.5.4: set the text, then the explicit width becomes the text's unbounded width, whether the old width was smaller or larger and whatever the max lines; the height is not touched; no or empty text leaves the width unset. The text goes through the engine's own Lua SetText, so conversions, grammar escapes and the "Font not set" error are SetText's; the width through CLayoutFrame::SetWidth with the same substring measure GetUnboundedStringWidth uses.