Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Increase the indent step size for the collab panel (#3772)

Marshall Bowerscd9156886f60
diff --git a/crates/collab_ui2/src/collab_panel.rs b/crates/collab_ui2/src/collab_panel.rs
index 7d01c080e89..b5b7a726d34 100644
--- a/crates/collab_ui2/src/collab_panel.rs
+++ b/crates/collab_ui2/src/collab_panel.rs
@@ -2120,6 +2120,7 @@ impl CollabPanel {
ListItem::new(channel_id as usize)
// Add one level of depth for the disclosure arrow.
.indent_level(depth + 1)
+ .indent_step_size(px(20.))
.selected(is_selected || is_active)
.toggle(disclosed)
.on_toggle(
@@ -2190,6 +2191,7 @@ impl CollabPanel {
.inset(false)
// Add one level of depth for the disclosure arrow.
.indent_level(depth + 1)
+ .indent_step_size(px(20.))
.start_slot(
IconElement::new(Icon::Hash)
.size(IconSize::Small)