Increase the indent step size for the collab panel (#3772)
This PR increases the indent step size for the collab panel. This gives the channel list a clearer hierarchy for nested channels, as well as help align the disclosures with the parent channel's icon. Release Notes: - N/A
This commit is contained in:
parent
80143b2571
commit
cd9156886f
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue