zed icon indicating copy to clipboard operation
zed copied to clipboard

Fix alignment of traffic lights

Open slymax opened this issue 1 year ago • 4 comments

closes #7339

slymax avatar Feb 21 '24 16:02 slymax

These don't seem aligned to me:

Screenshot 2024-02-21 at 11 46 33 AM

maxdeviant avatar Feb 21 '24 16:02 maxdeviant

idk looks fine on my end:

Bildschirmfoto 2024-02-21 um 19 22 20

maybe this has to do with the ui_font_size setting

~~the traffic lights are in the middle of the title bar – also on your screenshot~~

~~on your screenshot it looks like the other elements are a bit too far up~~

slymax avatar Feb 21 '24 18:02 slymax

nvm I moved them up a bit so they look more aligned with the default ui_font_size setting

Bildschirmfoto 2024-02-23 um 19 49 23

slymax avatar Feb 23 '24 18:02 slymax

The traffic light position should just be in the middle of the title bar, don't consider the text. Though you gotta think of the window border included as part of the title bar. Illustration: image

If the text looks misaligned, the text itself would need to be moved (and in that case, consider the alignment of uppercase characters and other alphabets)

probablykasper avatar Feb 23 '24 21:02 probablykasper