Repository navigation
fix: keep the Basic sidebar brand title unclipped - #4
Merged
Merged
Conversation
侧栏原先固定 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动 / 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
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.