ContentSize -> GetContentSize()/SetContentSize()

This commit is contained in:
Tig
2024-05-28 06:43:15 -06:00
parent 157f1db288
commit 41d86f7e15
46 changed files with 253 additions and 245 deletions

View File

@@ -32,7 +32,7 @@ public class TextTests (ITestOutputHelper output)
public void TextFormatter_Size_Tracks_ContentSize (string text, int expectedW, int expectedH)
{
var view = new View ();
view.ContentSize = new (1,1);
view.SetContentSize (new (1,1));
view.Text = text;
Assert.Equal (new (expectedW, expectedH), view.TextFormatter.Size);
}