# Use editor's current font size to scale UI elements \(\#11844\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/8bc41e150e2df9af9f026180b5e142dfe0fa5651)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 8bc41e150e2df9af9f026180b5e142dfe0fa5651

Requested commit: 8bc41e150e2df9af9f026180b5e142dfe0fa5651

Commit: 8bc41e150e2df9af9f026180b5e142dfe0fa5651

Tree: 58253081795bff1c7300366e0acb6b54915179d0

Author: Thorsten Ball

Committer: GitHub

## Message

```
Use editor's current font size to scale UI elements (#11844)

This is a follow-up to #11817 and fixes the case where the font size has
been changed with `cmd +/-` and not through the settings.

It now works with both: when the font size is adjusted in the settings
and when changing it via shortcuts.

Release Notes:

- N/A

Demo:


https://github.com/zed-industries/zed/assets/1185253/2e539bd3-f5cc-4aae-9f04-9ae014187959
```

## Parents

- [8629a076a74756af9737e4e07c7523e43f6b3697](https://git.cafe/gitcafe/zed/commit/8629a076a74756af9737e4e07c7523e43f6b3697?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/8bc41e150e2df9af9f026180b5e142dfe0fa5651?format=markdown)
