mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
ContentSize -> GetContentSize()/SetContentSize()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user