Disable AutoSize in SplitContainer test/scenario as it overspills parent bounds

This commit is contained in:
tznind
2023-01-15 12:09:35 +00:00
parent 05afde84cc
commit 62b98dcceb
2 changed files with 5 additions and 4 deletions

View File

@@ -583,10 +583,10 @@ namespace UnitTests {
container.IntegratedBorder = withBorder ? BorderStyle.Single : BorderStyle.None;
container.Panel1.Add (new Label (new string ('1', 100)));
container.Panel1.Add (new Label (new string ('1', 100)) { Y = 1});
container.Panel2.Add (new Label (new string ('2', 100)));
container.Panel2.Add (new Label (new string ('2', 100)) { Y = 1});
container.Panel1.Add (new Label (new string ('1', 100)) { Width = Dim.Fill(), Height = 1, AutoSize = false});
container.Panel1.Add (new Label (new string ('1', 100)) { Width = Dim.Fill (), Height = 1, AutoSize = false,Y = 1});
container.Panel2.Add (new Label (new string ('2', 100)) { Width = Dim.Fill (), Height = 1, AutoSize = false });
container.Panel2.Add (new Label (new string ('2', 100)) { Width = Dim.Fill (), Height = 1, AutoSize = false,Y = 1});
container.Panel1MinSize = 0;
container.Panel2MinSize = 0;