// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
using FlaxEngine;
namespace FlaxEditor.Surface
{
///
/// Set of static properties for the surface.
///
[HideInEditor]
public static class Constants
{
///
/// The node close button size.
///
public const float NodeCloseButtonSize = 12.0f;
///
/// The node close button margin from the edges.
///
public const float NodeCloseButtonMargin = 2.0f;
///
/// The node header height.
///
public const float NodeHeaderSize = 28.0f;
///
/// The node footer height.
///
public const float NodeFooterSize = 4.0f;
///
/// The node left margin.
///
public const float NodeMarginX = 5.0f;
///
/// The node right margin.
///
public const float NodeMarginY = 5.0f;
///
/// The box position offset on the x axis.
///
public const float BoxOffsetX = 2.0f;
///
/// The box size (with and height).
///
public const float BoxSize = 20.0f;
///
/// The node layout offset on the y axis (height of the boxes rows, etc.). It's used to make the design more consistent.
///
public const float LayoutOffsetY = 20.0f;
}
}