When using buttons in XML, if the text is set to only numbers, Basalt crashes. This bug only happens when you create buttons via XML.
If the text field has any non-numeric character the bug doesn't happen.
To Reproduce
Steps to reproduce the behavior:
Create a XML layout with a button with the text "123"
Add this layout to a frame.
Run.
Crash.
Expected behavior
It should just show the numbers, as it does when you programmatically create a button.
Checklist
[x] I am running the latest version.
Tick the box if you are running the latest version!
Describe the bug
When using buttons in XML, if the text is set to only numbers, Basalt crashes. This bug only happens when you create buttons via XML. If the text field has any non-numeric character the bug doesn't happen.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should just show the numbers, as it does when you programmatically create a button.
Checklist
[x] I am running the latest version. Tick the box if you are running the latest version!