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

@@ -61,5 +61,11 @@ namespace YooAsset.Editor
HeaderTitles.Add(reportHeader);
return reportHeader;
}
public ReportHeader AddHeader(string headerTitle, int width, int minWidth, int maxWidth)
{
var reportHeader = new ReportHeader(headerTitle, width, minWidth, maxWidth);
HeaderTitles.Add(reportHeader);
return reportHeader;
}
}
}