mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-11 15:26:55 +03:00
18 lines
510 B
C#
18 lines
510 B
C#
using Eto.Drawing;
|
|
|
|
namespace NAPS2.EtoForms.Layout;
|
|
|
|
public class ExpandLayoutElement : LayoutElement
|
|
{
|
|
public ExpandLayoutElement(params LayoutElement[] children)
|
|
{
|
|
Children = children;
|
|
}
|
|
|
|
public LayoutElement[] Children { get; }
|
|
|
|
public override void DoLayout(LayoutContext context, RectangleF bounds) => throw new NotSupportedException();
|
|
|
|
public override SizeF GetPreferredSize(LayoutContext context, RectangleF parentBounds) =>
|
|
throw new NotSupportedException();
|
|
} |