fix(app-iced,i18n): 实例名钉成面板页脚(S7)+ 中文占位符还原(S8)+ 注释实测值(S6)

D30 r2 视觉二审四条:

1. **S7(新回归)**:S1 的对半分让面板变矮之后实例名被挤出 1180×760 首屏。按 `install.rs`
   早已登记的方案改成**可滚上半块 + 钉死页脚**:`install::panel_with(.., shared)` →
   `options::section(.., scroll)`;`rows::content` 对 `PanelState::Options` 不再整块套
   scrollable(那层既把实例名卷进滚动区,也在窄窗产生第二条并列滚动条)。页脚不参与滚动,
   可达性由结构保证,S2 随之关闭。
2. **S8**:`catalog/download.rs` 与金表同一行的中文命令占位符 `<Forge 版本 id>` 照抄不可执行,
   还原成 `<forge id>`(两处一起改,金表顺序未动)。
3. **S6**:`rows.rs` 里「两半各 ≈215px / 列表 4.6 行」的估算换成实测(列表 245px = 5.29 行、
   面板 237px、分隔线 y=498),并写明 S1b 仍欠一项与其正确落点。

**S1b/S9(列表底缘整行)本轮没修成**:试过 `responsive` 拿「分给列表的高度」再 floor,
实测无效(`Fill` 子项上拿到非确定高度,量测显示列表区最后墨迹行仍在分隔线前一行),已回退,
不留无效代码。正确落点是把列表可用高度从 `pages/download.rs` / `rails.rs`(都在 scope 外)
传进 `rows::content`。

测试:`-p unlucky-app-iced` 862 passed、`-p unlucky-i18n` 36 passed(金表改动后仍绿)。
This commit is contained in:
AskaEth committed 2026-11-10 19:34:13 +08:00
1 parent cd7813f8eb
commit f29ca609ec
5 files changed
+83 -30

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ macro_rules! download_entries {
// 不是错误(不禁用确认键、不套错误色)——所以它不走 `problem` 那条通道。
DownloadOptionsLiteLoaderVanillaOnly => (
"LiteLoader stacks on vanilla only — for Forge, run: ull install <forge id> --loader liteloader",
"LiteLoader 只叠在原版上 —— 要叠 Forge 请运行:ull install <Forge 版本 id> --loader liteloader"
"LiteLoader 只叠在原版上 —— 要叠 Forge 请运行:ull install <forge id> --loader liteloader"
),
DownloadCancelled => (
"Install cancelled — finished files are kept, the instance was not created",