Add a WrapText property to Label

This commit is contained in:
2026-06-02 02:08:04 +02:00
parent 7b6fb71e1e
commit 52279d6d60
2 changed files with 7 additions and 2 deletions

View File

@@ -107,7 +107,8 @@ public class TestGame : Game
_label = new Label("What the heck??? Word wrapping!!! That's crazy... Noooo wayyy Before GTA 6 too!!!\nnewline :)", _defaultFontSet)
{
Size = new Rect(256.0f, 128.0f),
ClipContents = false
ClipContents = false,
WrapText = true
};
// _rootFill.AddChild(_label);