Odin has a dedicated attribute overview with examples

TableColumnWidthAttribute class

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Parameter | AttributeTargets.Delegate | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | AttributeTargets.All, AllowMultiple = false)]
public class TableColumnWidthAttribute : Attribute, _Attribute
The TableColumnWidth attribute is used to further customize the width of a column in tables drawn using the TableListAttribute.
  • System.Object
  • System.Attribute
  • TableColumnWidthAttribute
public List<SomeType> TableList = new List<SomeType>();

public class SomeType
    [TableColumnWidth(130, false)]
    public string A;

    public string B;

    [Multiline(2), Space(3)]
    public string fields;


TableColumnWidthAttribute(Int32, Boolean)
Initializes a new instance of the TableColumnWidthAttribute class.
public TableColumnWidthAttribute(int width, bool resizable = true)
System.Int32 width

The width of the column in pixels.

System.Boolean resizable

If true then the column can be resized in the inspector.


Whether the column should be resizable. True by default.
public bool Resizable
The width of the column.
public int Width

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.