Rename Frame to FillContainer.
This commit is contained in:
@@ -3,16 +3,17 @@ using Voile.Rendering;
|
||||
namespace Voile.UI.Containers;
|
||||
|
||||
/// <summary>
|
||||
/// A frame is a special container that occupies the entire available size of the parent.
|
||||
/// A special container that occupies the entire available size of the parent. <br />
|
||||
/// Usually used as a root element for the UI system.
|
||||
/// </summary>
|
||||
public class Frame : Container
|
||||
public class FillContainer : Container
|
||||
{
|
||||
public Frame()
|
||||
public FillContainer()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Frame(Rect minimumSize) : base(minimumSize)
|
||||
public FillContainer(Rect minimumSize) : base(minimumSize)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -54,8 +55,6 @@ public class Frame : Container
|
||||
if (Size == _lastParentSize) return;
|
||||
|
||||
Size = _lastParentSize;
|
||||
|
||||
Console.WriteLine("Updating");
|
||||
}
|
||||
|
||||
private Rect _lastParentSize = Rect.Zero;
|
||||
Reference in New Issue
Block a user