Hide array editor "Size" text when array title overlaps it
This commit is contained in:
@@ -11,6 +11,11 @@ namespace FlaxEngine.GUI
|
||||
[ActorToolbox("GUI")]
|
||||
public class DropPanel : ContainerControl
|
||||
{
|
||||
/// <summary>
|
||||
/// Size of the drop down icon.
|
||||
/// </summary>
|
||||
public const float DropDownIconSize = 14.0f;
|
||||
|
||||
/// <summary>
|
||||
/// The header height.
|
||||
/// </summary>
|
||||
@@ -379,7 +384,7 @@ namespace FlaxEngine.GUI
|
||||
float textLeft = 0;
|
||||
if (EnableDropDownIcon)
|
||||
{
|
||||
textLeft += 14;
|
||||
textLeft += DropDownIconSize;
|
||||
var dropDownRect = new Rectangle(2, (HeaderHeight - 12) / 2, 12, 12);
|
||||
var arrowColor = _mouseOverHeader ? style.Foreground : style.ForegroundGrey;
|
||||
if (_isClosed)
|
||||
|
||||
Reference in New Issue
Block a user