Cleanup 1

This commit is contained in:
W2.Wizard
2021-02-21 10:05:47 +01:00
parent 115d6e46a8
commit 52bc268ee7
12 changed files with 126 additions and 67 deletions

View File

@@ -21,8 +21,10 @@ namespace FlaxEditor.CustomEditors.Elements
/// </summary>
public LabelElement()
{
Label = new Label(0, 0, 100, 18);
Label.HorizontalAlignment = TextAlignment.Near;
Label = new Label(0, 0, 100, 18)
{
HorizontalAlignment = TextAlignment.Near
};
// TODO: auto height for label
}