gpui-component/crates
Jason Lee cd613db6d6
number_input: Improve NumberInput to better handle mouse down position cursor and fix sizable API. (#582)
Close #579 

- Leave some space before the Input to support mouse down to position
cursor at start of line.
- Fix to match with size appearance.
- Keep padding left and right to Input, even setup `appearance: false`.

## Break Changes

- The `xlarge`, `large`, `small`, `xsmall` ... method has been moved to
use `ui::Sizable` trait to same as other component.
2025-01-24 23:39:19 +08:00
..
story number_input: Improve NumberInput to better handle mouse down position cursor and fix sizable API. (#582) 2025-01-24 23:39:19 +08:00
ui number_input: Improve NumberInput to better handle mouse down position cursor and fix sizable API. (#582) 2025-01-24 23:39:19 +08:00