Files
XCEngine/new_editor/ui/views/editor_shell.xcui

31 lines
1.3 KiB
Plaintext
Raw Normal View History

<View
name="NewEditorShell"
theme="../themes/editor_shell.xctheme">
<Column padding="24" gap="16">
<Card
title="XCUI Core Validation"
subtitle="Current batch: input state routing | minimal sandbox | native renderer"
tone="accent"
height="90">
<Column gap="8">
<Text text="这个试验面板只保留当前批次需要检查的控件。" />
<Text text="无关的 editor 壳层面板暂时不放进来,避免干扰检查。" />
</Column>
</Card>
<Card title="Input Core" subtitle="hover focus active capture" height="196">
<Column gap="12">
<Text text="这一轮只需要检查下面这三个按钮。" />
<Row gap="12">
<Button id="input-hover" text="Hover / Focus" />
<Button id="input-capture" text="Pointer Capture" capturePointer="true" />
<Button id="input-route" text="Route Target" />
</Row>
<Text text="1. 鼠标移到左侧按钮hover 应该变化focus 应该保持空。" />
<Text text="2. 按住中间按钮不放focus、active、capture 都应该停在中间按钮。" />
<Text text="3. 按住中间按钮拖到右侧再松开hover 移到右侧capture 清空focus 仍留在中间。" />
</Column>
</Card>
</Column>
</View>