mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 09:47:58 +01:00
All AutoSize tests pass!
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user