WIP: use kerning for text measuring.

This commit is contained in:
2025-06-29 15:53:29 +02:00
parent 0ec4e45c38
commit 9bc9810c8f
3 changed files with 37 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ public class TestGame : Game
if (Input.IsActionPressed("accept"))
{
_container.AddChild(new Label("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", _font));
_container.AddChild(new Label("Hello, World!", _font));
}
if (Input.IsActionPressed("cancel") && _container.Children.Count != 0)