zed
zed copied to clipboard
Fix alignment of traffic lights
closes #7339
These don't seem aligned to me:
idk looks fine on my end:
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~~
nvm I moved them up a bit so they look more aligned with the default ui_font_size
setting
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:
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)