Merge pull request 'Fix text overlapping in tree explorer' (#14) from feature/icons into main

Reviewed-on: #14
old-main-2
Trivernis 2 years ago
commit d623ac94a8

@ -918,7 +918,7 @@ impl<T: TreeViewItem + Clone> TreeView<T> {
line.content.clone(),
area.width
.saturating_sub(indent_len)
.saturating_sub(1)
.saturating_sub(3)
.into(),
if line.is_ancestor_of_current_item {
ancestor_style

Loading…
Cancel
Save