Renamed Dim.Function->Func to align iwth C# Func type.

Dim API doc fixes and code cleanup
This commit is contained in:
Tig
2024-05-16 06:41:36 -07:00
parent c12c20603f
commit 80d9a97e2d
7 changed files with 64 additions and 48 deletions

View File

@@ -418,7 +418,7 @@ public class SetRelativeLayoutTests
Assert.Equal (1, view.Frame.Height);
var tf = new TextField { Text = "01234567890123456789" };
tf.Width = Dim.Fill (1) - Dim.Function (GetViewWidth);
tf.Width = Dim.Fill (1) - Dim.Func (GetViewWidth);
// tf will fill the screen minus 1 minus the width of view (3).
// so it's width will be 26 (30 - 1 - 3).