ui: Add `NumericStepper` component (#13954)
This PR adds a `NumericStepper` component that can be used to display a numeric value along with controls to increment, decrement, and reset the value. The `ApplicationMenu` has been updated to use the `NumericStepper` for adjusting the buffer and UI font size. Here it is in action: https://github.com/zed-industries/zed/assets/1486634/03cffe67-1256-4283-aa3d-560fffa06dad Note: Due to the way we do font adjustments, once modified the reset button will be displayed until it is clicked (or the font size adjustment is otherwise reset). Simply returning to the original value will currently not hide the reset button. Release Notes: - N/A
M
Marshall Bowers committed
9e36a66fecae2cd6894a7f2ca21dbb82b95892b2
Parent: 97f3153
Committed by GitHub <noreply@github.com>
on 7/8/2024, 10:45:49 PM