zed/crates/ui
Piotr Osiewicz 4097118070
ui: Fix scrollbar content size calculation for non-uniform lists with single element (#20237)
Previously we were always adding the origin coordinate of last item to
the content size, which is incorrect when the list has just one item; in
that case, we should just use the size of that item as the content size
of a list.

Closes #ISSUE

Release Notes:

- N/A
2024-11-05 14:32:13 +01:00
..
docs Make border methods always require an explicit width (#11450) 2024-05-06 13:22:47 -04:00
src ui: Fix scrollbar content size calculation for non-uniform lists with single element (#20237) 2024-11-05 14:32:13 +01:00
Cargo.toml Add ui_macros crate & DerivePathStr derive macro (#17811) 2024-09-13 16:45:16 -04:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00