mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Fix the Fill computations for layout, by only special casing the Pos.Center scenarios and unrolling the rest
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user