ZIm/crates/ui/src/components
Conrad Irwin 8629a076a7
Tighten up KeyBinding (#11839)
After #11795, the context menu was looking a little ridiculous on Mac in
vim mode (and the command palette has for a while).

<img width="258" alt="Screenshot 2024-05-14 at 20 35 50"
src="https://github.com/zed-industries/zed/assets/94272/cb0ec8b9-4da6-4ab4-9eec-c60d62f79eff">
<img width="581" alt="Screenshot 2024-05-14 at 20 56 28"
src="https://github.com/zed-industries/zed/assets/94272/d8fec440-17cc-4c20-80d9-c1d7f2f18315">

A future change would be to have a platform style for vim keybindings so
we can render `g A`, but for now this just removes a bunch of (to my
eyes at least) unnecessary space:

 
<img width="576" alt="Screenshot 2024-05-14 at 21 01 55"
src="https://github.com/zed-industries/zed/assets/94272/a39f4123-dc3b-4bb5-bb8d-5de6b37552e7">

cc @iamnbutler 


Release Notes:

- N/A
2024-05-14 21:12:17 -06:00
..
avatar Make border methods always require an explicit width (#11450) 2024-05-06 13:22:47 -04:00
button Introduce a new markdown crate (#11556) 2024-05-09 11:03:33 +02:00
checkbox Make border methods always require an explicit width (#11450) 2024-05-06 13:22:47 -04:00
label Introduce a new markdown crate (#11556) 2024-05-09 11:03:33 +02:00
list Auto-open remote projects on creation (#11826) 2024-05-14 16:05:26 -06:00
stories wayland: Window controls and drag (#11525) 2024-05-14 09:44:55 -07:00
title_bar wayland: Window controls and drag (#11525) 2024-05-14 09:44:55 -07:00
avatar.rs Add dedicated indicator for showing a muted call participant (#4076) 2024-01-16 16:18:06 -05:00
button.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
checkbox.rs Add CheckboxWithLabel component (#7881) 2024-02-15 21:00:30 -05:00
collapsible_container.rs Make border methods always require an explicit width (#11450) 2024-05-06 13:22:47 -04:00
context_menu.rs Add Editor Controls Menu to Tool Bar (#10655) 2024-04-16 18:03:54 -04:00
disclosure.rs Make clicking ListHeader labels toggle the disclosure (#4140) 2024-01-18 18:21:53 -05:00
divider.rs Clean up references in doc comments in ui and theme crates (#3985) 2024-01-09 15:22:36 -05:00
icon.rs Introduce recent files ambient context for assistant (#11791) 2024-05-14 13:48:36 +02:00
indicator.rs Clean up Indicator (#11275) 2024-05-01 18:10:35 -04:00
keybinding.rs Tighten up KeyBinding (#11839) 2024-05-14 21:12:17 -06:00
label.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
list.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
modal.rs Introduce a new markdown crate (#11556) 2024-05-09 11:03:33 +02:00
popover.rs Introduce a new markdown crate (#11556) 2024-05-09 11:03:33 +02:00
popover_menu.rs gpui: Pass Style by value to request_layout (#11597) 2024-05-09 11:38:53 +02:00
right_click_menu.rs gpui: Pass Style by value to request_layout (#11597) 2024-05-09 11:38:53 +02:00
stack.rs Rename h_stack and v_stack to h_flex and v_flex, respectively (#4053) 2024-01-15 11:34:06 -05:00
stories.rs Add Tool Strip (#11756) 2024-05-13 17:58:08 -04:00
tab.rs Introduce a new markdown crate (#11556) 2024-05-09 11:03:33 +02:00
tab_bar.rs Introduce a new markdown crate (#11556) 2024-05-09 11:03:33 +02:00
title_bar.rs wayland: Window controls and drag (#11525) 2024-05-14 09:44:55 -07:00
tool_strip.rs Add Tool Strip (#11756) 2024-05-13 17:58:08 -04:00
tooltip.rs Break typography styles out of StyledExt (#11013) 2024-04-25 17:42:53 -04:00