feat: 删除旧的技能资产 ABL_Boss_New,添加新的技能资产 ABL_Boss_Chaofeng

This commit is contained in:
2026-05-21 08:31:41 +08:00
parent 27c0d200c9
commit 7a51c43f04
8 changed files with 17 additions and 30 deletions

View File

@@ -100,19 +100,22 @@ namespace BaseGames.Editor
split.style.flexGrow = 1;
root.Add(split);
// 列表区容器TwoPaneSplitView 管理宽度,不需要 flexGrow
// 列表区容器
_listWrapper = new VisualElement();
_listWrapper.style.flexGrow = 1;
_listWrapper.style.overflow = Overflow.Hidden;
split.Add(_listWrapper);
// 详情区容器(ScrollView 支持超长内容滚动
// 详情区:外层 ScrollView 提供滚动视口_detailWrapper 是内容容器(自然高度
var detailScroll = new ScrollView(ScrollViewMode.Vertical);
detailScroll.style.flexGrow = 1;
detailScroll.contentContainer.style.flexGrow = 1;
detailScroll.contentContainer.style.flexDirection = FlexDirection.Column;
detailScroll.style.overflow = Overflow.Hidden;
split.Add(detailScroll);
_detailWrapper = detailScroll.contentContainer;
_detailWrapper = new VisualElement();
_detailWrapper.style.flexDirection = FlexDirection.Column;
_detailWrapper.style.paddingBottom = 16;
detailScroll.Add(_detailWrapper);
}
private VisualElement BuildNavSidebar()