feat: 删除旧的技能资产 ABL_Boss_New,添加新的技能资产 ABL_Boss_Chaofeng
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user