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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user