Implement GUI Label text layout properly.
Label layout is pretty poorly implemented at the moment. Two problems:
- Text clipping and wrapping aren't implemented.
- Horizontal align modes shift the entire text up instead of individual lines, which isn't correct.
I've got a rough prototype of the wrapping typed up:
https://github.com/user-attachments/assets/ccf1d408-55a3-4a27-8910-c64458957152
Horizontal align modes shift the entire text up instead of individual lines, which isn't correct.
Can I clarify what you mean by this, though? Setting Align=Right properly right-justifies the text when using multiple lines and it seems this functionality was added by you a week before logging this bug (https://github.com/space-wizards/RobustToolbox/commit/c7fe2bb8761) so I'm not sure which piece isn't working correctly?
Can I clarify what you mean by this, though? Setting Align=Right properly right-justifies the text when using multiple lines and it seems this functionality was added by you a week before logging this bug (c7fe2bb8761) so I'm not sure which piece isn't working correctly?
God if I knew anymore lol