outline panel: Add indent guides (#19719)

See #12673

| File | Search |
|--------|--------|
| <img width="302" alt="image"
src="https://github.com/user-attachments/assets/44b8d5f9-8446-41b5-8c0f-e438050f0ac9">
| <img width="301" alt="image"
src="https://github.com/user-attachments/assets/a2e6f77b-6d3b-4f1c-8fcb-16bd35274807">
|



Release Notes:

- Added indent guides to the outline panel
This commit is contained in:
Bennet Bo Fenner
2024-10-28 09:54:18 +01:00
committed by GitHub
parent e86b096b92
commit 888fec9299
8 changed files with 236 additions and 86 deletions
+2
View File
@@ -340,6 +340,7 @@ impl Element for UniformList {
visible_range.clone(),
bounds,
item_height,
self.item_count,
cx,
);
let available_space = size(
@@ -396,6 +397,7 @@ pub trait UniformListDecoration {
visible_range: Range<usize>,
bounds: Bounds<Pixels>,
item_height: Pixels,
item_count: usize,
cx: &mut WindowContext,
) -> AnyElement;
}