update table view
新增单元格视图类
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
#if UNITY_2019_4_OR_NEWER
|
||||
using System;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEditor.UIElements;
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
namespace YooAsset.Editor
|
||||
{
|
||||
public class ColumnStyle
|
||||
{
|
||||
public const float MaxValue = 8388608f;
|
||||
|
||||
/// <summary>
|
||||
/// 单元列宽度
|
||||
/// </summary>
|
||||
public Length Width = 100f;
|
||||
|
||||
/// <summary>
|
||||
/// 单元列最小宽度
|
||||
/// </summary>
|
||||
public Length MinWidth = 30f;
|
||||
|
||||
/// <summary>
|
||||
/// 单元列最大宽度
|
||||
/// </summary>
|
||||
public Length MaxWidth = MaxValue;
|
||||
|
||||
/// <summary>
|
||||
/// 可伸缩
|
||||
/// </summary>
|
||||
public bool Stretchable = false;
|
||||
|
||||
/// <summary>
|
||||
/// 可搜索
|
||||
/// </summary>
|
||||
public bool Searchable = false;
|
||||
|
||||
/// <summary>
|
||||
/// 可排序
|
||||
/// </summary>
|
||||
public bool Sortable = false;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user