Table Column Width Attribute

The TableColumnWidth attribute is used to further customize the width of a column in tables drawn using the <see cref="TableListAttribute"/>.

[TableList]
public List<MyItem> List = new List<MyItem>()
{
    new MyItem(),
    new MyItem(),
    new MyItem(),
};

[Serializable]
public class MyItem
{
    [PreviewField(Height = 20)]
    [TableColumnWidth(30, Resizable = false)]
    public Texture2D Icon = ExampleHelper.GetTexture();

    [TableColumnWidth(60)]
    public int ID;

    public string Name;
}