Update arrangement logic for containers, remove position property from Rect, add Size property to IElement.

This commit is contained in:
2025-06-19 15:08:23 +02:00
parent e499691714
commit 6affded730
9 changed files with 56 additions and 23 deletions

View File

@@ -9,6 +9,7 @@ public abstract class Container : IElement, IParentableElement, IUpdatableElemen
{
public IReadOnlyList<IElement> Children => _children;
public Vector2 Position { get; set; }
public Rect Size { get; set; } = Rect.Zero;
public Container()
{