Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Improve UI spacing on bigger text sizes

未关闭
#1,187 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞

调研方向

以 1x 缩放和 1.5 的字体大小重现 UI,然后将其与使用 xrandr 在 2x 缩放下生成的屏幕截图进行比较。检查标题栏、选项卡、菜单间距、键盘快捷键、投影阴影和 wingpanel;当较大文本的布局也具有同样舒适且均匀的间距时,工作就完成了。

由索引模型根据 Issue 内容生成。

描述

Needs Design Priority: Wishlist

I think allowing users to set the text size instead of providing fractional scaling is a very good idea to begin with but the spacing between UI elements needs some improvement. For example, on Code (screenshot below) with 1x scaling factor and the font size set to 1.5 everything feels too compact and not really breathable and evenly spaced.

Screenshot from 2022-02-03 19-24-02_cropped

I think a good rule of thumb to get the spacing right would be using xrandr with the 2x scaling factor to zoom out the screen (screenshot below) so that the zoomed out font size on 2x matches the preferred font size on 1x.

Screenshot from 2022-02-03 19-22-50@2x_cropped

As you can see, the scaled down version looks more pleasant spacing-wise, the titlebar is bigger, the tabs view is bigger, the drop-shadow is heavier and there is much more spacing between the menu entry and it's corresponding keyboard shortcut. The wingpanel is also more comfortably-spaced as opposed to the first version where the applications menu is so near my monitor bezel I can't stand it.

主要语言
Vala
星标
521
派生
119
平均合并
1 天 7 小时
30 天内合并 PR
13

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

elementary/code 的其他 Issue

查看 elementary/code 的全部 Issue

相似的 Issue

更多 Design Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。