Added arrow as default to groups
This commit is contained in:
@@ -642,7 +642,7 @@ namespace FlaxEditor.CustomEditors.Dedicated
|
||||
Checked = script.Enabled,
|
||||
Parent = group.Panel,
|
||||
Size = new Float2(14, 14),
|
||||
Bounds = new Rectangle(2, 0, 14, 14),
|
||||
Bounds = new Rectangle(16, 0, 14, 14),
|
||||
BoxSize = 12.0f,
|
||||
Tag = script,
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user