All AutoSize tests pass!

This commit is contained in:
Tig Kindel
2024-01-08 01:04:52 -07:00
parent dcdaf1009d
commit 2d4948a18d
2 changed files with 1420 additions and 1475 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -427,10 +427,8 @@ public class TextTests {
win.Add (label);
Application.Top.Add (win);
// #3127: Before: Text is empty but height=1 by default, see Label view
// After: Text is empty Dim.Fill is honored
Assert.False (label.AutoSize);
Assert.Equal ("(0,0,28,78)", label.Bounds.ToString ());
Assert.Equal ("(0,0,80,25)", label.Bounds.ToString ());
label.Text = "New text\nNew line";
Application.Top.LayoutSubviews ();