zed/crates/gpui/examples
Jason Lee 938d93a64c
gpui: Add truncate and text_ellipsis to TextStyle (#14850)
Release Notes:

- N/A

Ref issue #4996

## Demo

```
cargo run -p gpui --example text_wrapper 
```



https://github.com/user-attachments/assets/a7fcebf7-f287-4517-960d-76b12722a2d7

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
2024-08-23 14:02:51 -04:00
..
image gpui: Improve img element to support load from Assets (#15482) 2024-07-30 10:55:48 -04:00
animation.rs gpui example: Fix SVG not showing up when running from root (#13648) 2024-06-28 15:58:19 +02:00
gif_viewer.rs gpui: Add support for animated images (#13809) 2024-07-27 14:05:37 +02:00
hello_world.rs Linux window decorations (#13611) 2024-07-03 11:28:09 -07:00
input.rs Add mouse handling to gpui input example (#14350) 2024-07-15 12:10:25 -06:00
ownership_post.rs More adjustments for blog post 2024-01-18 07:01:46 -07:00
set_menus.rs gpui: Update Menu name to use SharedString type to support more types (#14791) 2024-07-19 08:51:31 -04:00
shadow.rs Adjust erf estimation function (#15423) 2024-08-07 14:12:26 +02:00
text_wrapper.rs gpui: Add truncate and text_ellipsis to TextStyle (#14850) 2024-08-23 14:02:51 -04:00
window_positioning.rs gpui: Fix cx.bounds, cx.open_window position on macOS (#14044) 2024-07-10 09:52:33 -06:00
window_shadow.rs Linux window decorations (#13611) 2024-07-03 11:28:09 -07:00