Makes Window default Arrangement not be movable/resizable (#3931)

* Window -> not sizeable/movable by default.
Window: Code cleanup.
Frameview: Code cleanup.

* View API docs updates

* View API docs updates
This commit is contained in:
Tig
2025-02-27 12:24:31 -07:00
committed by GitHub
parent b62e826576
commit c00de4a092
8 changed files with 345 additions and 174 deletions

View File

@@ -147,6 +147,8 @@ public class WindowTests
Assert.Null (defaultWindow.MostFocused);
Assert.Equal (TextDirection.LeftRight_TopBottom, defaultWindow.TextDirection);
Assert.Equal (ViewArrangement.Overlapped, defaultWindow.Arrangement);
// Empty Rect
using var windowWithFrameRectEmpty = new Window { Frame = Rectangle.Empty, Title = "title" };
windowWithFrameRectEmpty.Layout ();