Fix the Fill computations for layout, by only special casing the Pos.Center scenarios and unrolling the rest

This commit is contained in:
miguel
2018-05-04 22:41:59 -04:00
parent bf37958d13
commit 6fbccd6659
7 changed files with 161 additions and 21 deletions

View File

@@ -217,7 +217,7 @@ static class Demo {
X = 0,
Y = 1,
Width = Dim.Fill (),
Height = Dim.Fill () - 1
Height = Dim.Fill ()
};
#else
var win = new Window (new Rect (0, 1, tframe.Width, tframe.Height - 1), "Hello");