Add automatic window positioning to avoid overlap and maximize spaciousness

This commit is contained in:
Stone_Red
2026-06-10 04:02:54 +02:00
parent 3a635e85df
commit fad05a3e9a
5 changed files with 124 additions and 23 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ public class TestProcess() : Process("Test Process")
{
internal override void Start(string[] args)
{
Window window = WindowManager.CreateWindow(this, "Test Window", Point.Empty, new Size(200, 150));
Window window = WindowManager.CreateWindow(this, "Test Window", new Size(200, 150));
window.AutoFlush = true;
Circle circle = window.CreateUIElement<Circle>(rect =>