diff --git a/packages/filesystem/src/browser/file-tree/file-tree-widget.tsx b/packages/filesystem/src/browser/file-tree/file-tree-widget.tsx index 11d0130cdadc2..ad28ff4de1f11 100644 --- a/packages/filesystem/src/browser/file-tree/file-tree-widget.tsx +++ b/packages/filesystem/src/browser/file-tree/file-tree-widget.tsx @@ -317,6 +317,6 @@ export class FileTreeWidget extends CompressedTreeWidget { protected override getDepthPadding(depth: number): number { // add additional depth so file nodes are rendered with padding in relation to the top level root node. - return (depth + 1) * this.props.leftPadding; + return super.getDepthPadding(depth + 1); } }