Added arrow as default to groups

This commit is contained in:
Chandler Cox
2023-01-21 10:32:37 -06:00
parent 1e98fe2920
commit a91990138b
2 changed files with 7 additions and 2 deletions

View File

@@ -13,7 +13,12 @@ namespace FlaxEditor.CustomEditors.Elements
/// <summary>
/// The drop panel.
/// </summary>
public readonly DropPanel Panel = new DropPanel();
public readonly DropPanel Panel = new DropPanel
{
ArrowImageClosed = new SpriteBrush(Style.Current.ArrowRight),
ArrowImageOpened = new SpriteBrush(Style.Current.ArrowDown),
EnableDropDownIcon = true,
};
/// <inheritdoc />
public override ContainerControl ContainerControl => Panel;