ZIm/crates/ui/src/components/button
Mikayla Maki 9bce5e8b82
Improve diagnostic header UI (#9888)
This PR rearranges the diagnostics to put the headers to the left of the
diagnostic messages and adds an additional button to close the
diagnostics.

<img width="394" alt="Screenshot 2024-03-27 at 2 01 19 PM"
src="https://github.com/zed-industries/zed/assets/2280405/83be4051-6441-47c6-9b48-77c75ce9c8eb">

<img width="326" alt="Screenshot 2024-03-27 at 2 01 56 PM"
src="https://github.com/zed-industries/zed/assets/2280405/d849ca34-91e9-4de6-9d9c-503b75e97d60">

As a drive by, I also quieted a useless but loud log message.

Release Notes:

- Added a close button to the `f8` diagnostics.
2024-03-27 14:30:27 -07:00
..
button.rs Rename h_stack and v_stack to h_flex and v_flex, respectively (#4053) 2024-01-15 11:34:06 -05:00
button_icon.rs Rename IconElement to just Icon (#3974) 2024-01-09 10:11:20 -05:00
button_like.rs Improve diagnostic header UI (#9888) 2024-03-27 14:30:27 -07:00
icon_button.rs Fix right click handler for tabs 2024-01-18 12:10:38 -07:00
toggle_button.rs Implement Tinted buttons and selected_style for buttons 2024-01-05 11:19:58 -05:00