fix(app-iced,i18n): 分高改「面板先保预算」+ 说明压成单行(D30 五审一次性重分配)

五审:菜单文字/720 列表/44-97 标定/04 都过,但滚动区被压到 82px(宽)/24px(窄)——宽档切
「安装选项」字身、六枚 chip 0 像素。塔裁决停止逐轮调顺序,一次性重分配:

1. **分高从「对半分」改成「面板先保预算」**:`PANEL_BUDGET = 300`(滚动区 128 + 钉死区 136),
   `whole_rows = floor((column − LIST_CHROME − PANEL_BUDGET)/44) × 44`。
   1180×760:580−97−300 = 183 ⇒ **176px = 4 整行**(原 5 行),面板 307px ⇒ 滚动区 ≈150px;
   1180×900:323 ⇒ **308px = 7 整行**(未变)。720 档走 `None`(Fill),未动。
2. **说明压成单行**(`DownloadOptionsLiteLoaderVanillaOnly`):两行 28px 是滚动区最大的可压项。
   en `Vanilla parent only — Forge goes through the CLI` / zh `只叠原版;叠 Forge 请走命令行`;
   完整命令行说法留在 `ull help install`。单测断言随之改成「含该句 + 只有一行」并写明原因。

文档按六审要求改口:滚走的是说明/错误行(非控件);说明变单行后 760 档滚动区已能装下
head+标签+chips+单行说明,**无需滚动**。
This commit is contained in:
AskaEth committed 2026-11-10 19:34:14 +08:00
1 parent 6eb7132ab0
commit cb2cffb3ca
5 files changed
+25 -12

No files matched your search

+2 -2
View File
@@ -102,8 +102,8 @@ macro_rules! download_entries {
// M222:下载页只做「原版 + 加载器」一层,Forge 父链只有命令行能走。中性说明,
// 不是错误(不禁用确认键、不套错误色)——所以它不走 `problem` 那条通道。
DownloadOptionsLiteLoaderVanillaOnly => (
"LiteLoader stacks on vanilla only — for Forge, run: ull install <forge id> --loader liteloader",
"LiteLoader 只叠在原版上 —— 要叠 Forge 请运行:ull install <forge id> --loader liteloader"
"Vanilla parent only — Forge goes through the CLI",
"只叠原版;叠 Forge 请走命令行"
),
DownloadCancelled => (
"Install cancelled — finished files are kept, the instance was not created",