gpui-component/crates/ui
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
..
assets/fonts svg_img: Embed the font file (#401) 2024-11-08 15:45:00 +08:00
locales modal: Add confirm Modal with default Ok, Cancel buttons. (#558) 2025-01-20 17:42:05 +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
tests/fixtures dock: Add to support save left, right, bottom dock state. (#303) 2024-10-03 17:25:31 +08:00
Cargo.toml modal: Add confirm Modal with default Ok, Cancel buttons. (#558) 2025-01-20 17:42:05 +08:00
default-colors.json Add Skeleton (#128) 2024-08-09 15:55:48 +08:00
LICENSE-APACHE Add Dock & Panel (#10) 2024-07-01 14:20:56 +08:00