update UIElements

This commit is contained in:
何冠峰
2025-02-05 17:26:19 +08:00
parent 698d81a433
commit 7e1dc7ef24
9 changed files with 219 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ namespace YooAsset.Editor
/// <summary>
/// 单元列最小宽度
/// </summary>
public int MinWidth = 30;
public int MinWidth = 50;
/// <summary>
/// 单元列最大宽度
@@ -52,7 +52,17 @@ namespace YooAsset.Editor
{
HeaderTitle = headerTitle;
Width = width;
MinWidth = width;
MaxWidth = width;
}
public ReportHeader(string headerTitle, int width, int minWidth, int maxWidth)
{
HeaderTitle = headerTitle;
Width = width;
MinWidth = minWidth;
MaxWidth = maxWidth;
}
public ReportHeader SetMinWidth(int value)
{
MinWidth = value;