ROCriticalMessages do not wrap reliably within message background & display can be screwed up
Issue #89
resolved
ROCriticalMessages (the type that display on a parchment background) are designed to wrap text, based on a specified MaxMessageWidth (being the proportion of screen width) in the message class.
There is a bug in function ExtraLayoutMessage in ROHud. which sometimes screws this up, resulting in very long single lines of text that go way outside the message window and often off the screen edges.
Also, the function only uses the default maxMessageWidth (0.3) from the ROCriticalMessage class and ignores any alternative value specified in a message subclass.
I have fixed both. Attached screenshots demonstrate the bug and the fixed outcome.
Comments (3)
-
reporter -
reporter - changed component to Interface
-
reporter - changed status to resolved
Resolved in commit d27485f
- Log in to comment
This overridden function goes in class DHHud: