Removed ContentSize setter, replaced with SetContentSize

This commit is contained in:
Tig
2024-05-13 13:42:14 -06:00
parent 7786938eb9
commit 36b9171276
21 changed files with 145 additions and 78 deletions

View File

@@ -924,9 +924,9 @@ public class DrawTests (ITestOutputHelper _output)
{
Width = Dim.Fill (),
Height = Dim.Fill (),
ContentSize = new Size (10, 10),
ViewportSettings = ViewportSettings.ClipContentOnly
};
view.SetContentSize (new Size (10, 10));
view.Border.Thickness = new Thickness (1);
view.BeginInit ();
view.EndInit ();
@@ -957,8 +957,8 @@ public class DrawTests (ITestOutputHelper _output)
{
Width = Dim.Fill (),
Height = Dim.Fill (),
ContentSize = new Size (10, 10),
};
view.SetContentSize (new Size (10, 10));
view.Border.Thickness = new Thickness (1);
view.BeginInit ();
view.EndInit ();