Skip to content

Label Width

[LabelWidth] attribute allow to change width between label and property.


Support Types

Any types.


Parameters

Name Description
Widith Width between label and property.

Examples

    [LabelWidth(150)]
    public float floatValue;

    [Indent(250)]
    public int intValue;
Note

Make sure that you have added ApexInspector namespace in your script, to get access to all attributes.

using ApexInspector;


Demo

using ApexInspector;
using UnityEngine;

public class ExampleComponent : MonoBehaviour
{
    [LabelWidth(300)]
    public float customWidth;

    public float defaultWidth;
}

Static-demo

Static demo