Skip to content

fix: keep the Basic sidebar brand title unclipped - #4

Merged
forgottenlab merged 1 commit into
mainfrom
fix/basic-sidebar-brand-clip
Nov 24, 2026
Merged

forgottenlab merged 1 commit into
mainfrom
fix/basic-sidebar-brand-clip

Conversation

@forgottenlab

Copy link
Copy Markdown
Owner

改动 / What changed

侧栏原先固定 245px,去掉 18px 边距、48px 图标和 12px 间距后,品牌标题只剩 149px、20px/800 字重下 Professional 的 “Launch Flow” 只需 117px,但 Basic 的 “LaunchFlow Basic” 需要 166px,因此会被裁成 “LaunchFlow Bas”。

这是共用 MainWindow 布局宽度不足,不是另一套界面。将侧栏加宽到 270px 后,标题区剩 174px,两个版本的标题都能完整显示;Professional 只是略增留白,能力约定未改。双版本 Phase 2 冒烟现在会在字体可解析时检查侧栏标题未被裁切。

因为侧栏宽度是共用的,README 里含侧栏的截图(含 Professional 工作台和功能截图)都用 tools/generate_readme_screenshots.py 重新生成;中英文 README 引用的仍是同一组图片。未发布公开 Basic 安装包,最近公开检查点仍是 v0.1.0-beta.2。

检查 / How it was checked

  • 在本机用指定 Miniconda 解释器(Python 3.13.9,PySide6 6.9.3)实例化 Basic 和 Professional 的 MainWindow,窗口尺寸包括默认 1280×800 以及 README 截图使用的 1440×900。
  • 字体度量与像素检查确认:“LaunchFlow Basic” 需 166px、实际可用 174px,渲染墨迹右侧仍有 9px 留白;侧栏截图可看到完整标题。Professional 的 “Launch Flow” 仍正常。
  • python tools/check_dual_edition_phase2_smoke.py 通过。
  • python tools/check_readme_docs_smoke.py 通过。
  • 未修改已有本地未提交的跨平台草稿与 .ai/ 文件;未改 PATH / Conda / 许可证 / HWID,也未跑 PyInstaller。

English Summary

The shared 245px sidebar left only 149px for the 20px/800 brand title, which is enough for Professional “Launch Flow” (117px) but clips “LaunchFlow Basic” (166px) to “LaunchFlow Bas”. Widening the shared sidebar to 270px gives 174px of title room so both editions render in full; Professional only gains a little extra space, and edition capability contracts are unchanged. Phase 2 smoke now asserts unclipped brand text when fonts resolve. README screenshots that include the sidebar were regenerated with the official script; the bilingual READMEs still point at the same files. This does not publish a Basic installer; v0.1.0-beta.2 remains the last public checkpoint.

侧栏原先固定 245px,去掉 18px 边距、48px 图标和 12px 间距后,品牌标题只剩 149px。20px/800 字重下 “Launch Flow” 只需 117px,但 “LaunchFlow Basic” 需要 166px,因此会被裁成 “LaunchFlow Bas”。将共用侧栏加宽到 270px(文本区 174px),两个版本的标题都能完整显示,专业版外观只是略增留白。双版本 Phase 2 冒烟现在会在字体可解析时检查标题未被裁切。因为侧栏宽度是共用的,README 里含侧栏的截图都用官方脚本重新生成;中英文 README 引用的仍是同一组图片。未发布公开 Basic 安装包,最近公开检查点仍是 v0.1.0-beta.2。

## English Summary

The shared sidebar was 245px, which left only 149px for the 20px/800 brand title and clipped "LaunchFlow Basic" to "LaunchFlow Bas". Widening it to 270px gives 174px for the title so both editions render in full; Professional only gains a little extra space. The Phase 2 smoke now asserts unclipped brand text when fonts resolve. README screenshots that include the sidebar were regenerated with the official script. This does not publish a Basic installer; v0.1.0-beta.2 remains the last public checkpoint.
@forgottenlab
forgottenlab merged commit a06f57b into main Nov 24, 2026
1 check passed
@forgottenlab
forgottenlab deleted the fix/basic-sidebar-brand-clip branch November 24, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant