elementary / elementary/code

Improve UI spacing on bigger text sizes

Open
#1,187 5 comments 0 reactions 0 assignees View on GitHub
Needs Design Priority: Wishlist
Dominant language
Vala
Stars
521
Forks
118
Avg merge
1d 8h
Merged PRs (30d)
14

Description

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](https://user-images.githubusercontent.com/25988099/152423059-a6c562c8-7aaa-4bcc-9d6e-341f4fa0d16c.png)

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](https://user-images.githubusercontent.com/25988099/152423004-810eea3a-1f68-4250-8956-a097393366f3.png)

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.