gpui-component/crates/story
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
..
examples example: Split single examples. (#574) 2025-01-24 11:13:24 +08:00
src number_input: Improve NumberInput to better handle mouse down position cursor and fix sizable API. (#582) 2025-01-24 23:39:19 +08:00
Cargo.toml tiles: Add Tiles (#435) 2024-12-16 20:33:14 +08:00