// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved. using FlaxEngine; using FlaxEngine.GUI; namespace FlaxEditor.CustomEditors.Elements { /// /// The label element. /// /// public class LabelElement : LayoutElement { /// /// The label. /// public readonly Label Label; /// /// Initializes a new instance of the class. /// public LabelElement() { Label = new Label(0, 0, 100, 18); Label.HorizontalAlignment = TextAlignment.Near; // TODO: auto height for label } /// public override Control Control => Label; } }