mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 08:50:25 +01:00
Renamed Dim.Function->Func to align iwth C# Func type.
Dim API doc fixes and code cleanup
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user