26 lines
659 B
C#
26 lines
659 B
C#
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved.
|
|
|
|
using FlaxEngine;
|
|
using FlaxEngine.GUI;
|
|
|
|
namespace FlaxEditor.CustomEditors.Elements
|
|
{
|
|
/// <summary>
|
|
/// The horizontal panel element.
|
|
/// </summary>
|
|
/// <seealso cref="FlaxEditor.CustomEditors.LayoutElement" />
|
|
public class HorizontalPanelElement : LayoutElementsContainer
|
|
{
|
|
/// <summary>
|
|
/// The panel.
|
|
/// </summary>
|
|
public readonly HorizontalPanel Panel = new HorizontalPanel
|
|
{
|
|
Pivot = Float2.Zero,
|
|
};
|
|
|
|
/// <inheritdoc />
|
|
public override ContainerControl ContainerControl => Panel;
|
|
}
|
|
}
|