明确 Tiled fill_center 暂不支持
Project CI / Repository checks (pull_request) Has been cancelled
Project CI / Frontend tests (pull_request) Has been cancelled
Project CI / Backend tests (pull_request) Has been cancelled
Project CI / Native shell tests (pull_request) Has been cancelled

在前端预览与 Rust HTML 渲染两侧保留 repeat fallback 并添加 TODO。

在 UI 编辑器布局契约中明确 Tiled.fill_center=false 当前不支持及后续迁移要求。
This commit is contained in:
2026-09-01 17:07:29 +08:00
parent 43ab4464ed
commit 913c51264a
3 changed files with 3 additions and 0 deletions
@@ -35,6 +35,7 @@ Container 专属数据是互斥 tagged union:HBox/VBox 存 `alignment + separa
- 不支持 Flex/Flow wrap;Grid 按行优先排列。
- Margin 的 children 填满内侧矩形;Center 的 children 居中并可重叠。
- v1 minimum size 只使用 `custom_minimum_size`。TODO:为文本、图片等组件提供 minimum-size,再与 custom minimum 逐轴取最大值。
- `ImageType::Tiled.fill_center=false` 当前暂不支持,前端预览与 Rust HTML 生成均保持整块 `repeat` fallback;如需实现仅铺边框,必须先补充 CSS 输出与既有项目迁移契约。
## 编辑器交互