Unify Containers and Widgets by creating a base UIElement, add more anchor types, make anchor calculations an extension of Anchor.

This commit is contained in:
2025-06-22 23:28:30 +02:00
parent 95ae2de7ac
commit 61ac079f2b
9 changed files with 163 additions and 181 deletions

View File

@@ -39,7 +39,7 @@ public interface IResizeableElement
/// <summary>
/// Get a minimum rectangle size for this element.
/// </summary>
public abstract Rect MinimumRect { get; }
public abstract Rect MinimumSize { get; }
}
public interface IUpdatableElement