Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(tools): load production hierarchy button styles (#87)

YHH837bc0ac3313
diff --git a/desktop b/desktop
index 7ab564815..c0f3e625c 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit 7ab56481533d58af88f90f45b8e21401bacf1c39
+Subproject commit c0f3e625cc27529bda4cf5fd35183982fdb0de8f
diff --git a/examples/ui-localization-debug/VALIDATION.md b/examples/ui-localization-debug/VALIDATION.md
index 545645d78..080bd4859 100644
--- a/examples/ui-localization-debug/VALIDATION.md
+++ b/examples/ui-localization-debug/VALIDATION.md
@@ -397,3 +397,14 @@ snapshot; live-game-only dialogs and scripts need runtime acceptance separately.
Elements → Inside → Text shows content A and fontFamily B|Arial.
- No local Electron/native runner launched. This proves cache correctness;
cache/reflow performance, shaping and device acceptance remain open.
+
+## UI hierarchy alignment — 2026-10-09
+
+- The Play browser fixture now loads the production app.css button recipe;
+ previous screenshots missed its flex layout and did not represent button
+ alignment in the editor. Keep this shared stylesheet in browser validation.
+- UI Debugger tree labels stay on one line with ellipsis; icons retain 14px
+ width. In the narrow browser pane, all eight real rows have 26px height and
+ 16px depth steps, including Runtime dialog host and its Runtime button child.
+- Selecting the truncated Runtime dialog host shows its full name/path and
+ real component values. Editor typecheck passes. No desktop runner launched.
diff --git a/tools/ui-events-play-browser.tsx b/tools/ui-events-play-browser.tsx
index 068172e74..702404fe1 100644
--- a/tools/ui-events-play-browser.tsx
+++ b/tools/ui-events-play-browser.tsx
@@ -5,6 +5,7 @@ import { useCallback, useState, useSyncExternalStore } from 'react';
import '../desktop/src/theme/tokens.css';
import '../desktop/src/theme/global.css';
import '../desktop/src/theme/controls.css';
+import '../desktop/src/theme/app.css';
import '../desktop/src/theme/uiTextDebug.css';
import { PlayInspect } from '../desktop/src/engine/PlayInspect';
import { PlayRealm } from '../desktop/src/engine/PlayRealm';