# ui_input: Adjust step values for Font Weight stepper \(\#40408\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 738dcd0c3a6007c2131adf9f7d81c89c4bbf631e

Requested commit: 738dcd0c3a6007c2131adf9f7d81c89c4bbf631e

Commit: 738dcd0c3a6007c2131adf9f7d81c89c4bbf631e

Tree: 917d1ab36ff23fb2ebae0911ca11e295e1eae922

Author: Bartosz Kaszubowski

Committer: GitHub

## Message

```
ui_input: Adjust step values for Font Weight stepper (#40408)

# Why

While playing with new Settings UI I have spotted that changing font
weight requires a lot of clicks. This is also a bit more annoying due to
lack of ability to enter the desired value by hand.

# How

Adjust step values for Font Weight stepper, the default increment has
been changed from 10 to 50, to cover (defined in spec `950` weight)
which some fonts might use, small step has been changed from 5 to 10,
and large step from 50 to 100.

Release Notes:

- Adjusted default step values for number input UI element used for
changing Font Weight in Settings UI.
```

## Parents

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

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