Refactor XCUI editor module layout

This commit is contained in:
2026-04-10 00:41:28 +08:00
parent 4b47764f26
commit 02a0e626fe
263 changed files with 12396 additions and 7592 deletions

View File

@@ -810,7 +810,7 @@ private:
DrawCard(
drawList,
layout.introRect,
"这个测试验证什么功能?",
"这个测试验证什么功能?",
"只验证 Editor TreeView 的多选契约,不混入 Hierarchy / Inspector 业务面板。");
drawList.AddText(
UIPoint(layout.introRect.x + 16.0f, layout.introRect.y + 72.0f),
@@ -819,12 +819,12 @@ private:
12.0f);
drawList.AddText(
UIPoint(layout.introRect.x + 16.0f, layout.introRect.y + 94.0f),
"2. Ctrl+单击 / Shift+单击:只验证 visible tree 范围内的多选切换与连续扩选。",
"2. Ctrl+单击 / Shift+单击:只验证 visible tree 范围内的多选切换与连续扩选。",
kTextPrimary,
12.0f);
drawList.AddText(
UIPoint(layout.introRect.x + 16.0f, layout.introRect.y + 116.0f),
"3. 点击 disclosure只切换 expanded不应无故打散 selection。",
"3. 点击 disclosure只切换 expanded不应无故打散 selection。",
kTextPrimary,
12.0f);
drawList.AddText(
@@ -853,7 +853,7 @@ private:
DrawButton(drawList, button, m_hasHoveredAction && m_hoveredAction == button.action);
}
DrawCard(drawList, layout.stateRect, "状态摘要", "重点检查 multi-select 与 expanded / visible contract 是否稳定。");
DrawCard(drawList, layout.stateRect, "状态摘要", "重点检查 multi-select 与 expanded / visible 契约是否稳定。");
drawList.AddText(
UIPoint(layout.stateRect.x + 16.0f, layout.stateRect.y + 70.0f),
"Hit: " + DescribeHitTarget(currentHit, m_items),