- VSCode Version: 1.13.1
- OS Version: Win 10
Steps to Reproduce:
- Create custom tree view extension with icons and observe padding of label.
- It is impossible to have icons and re-create the layout of the built-in explorer.
In the first picture, in the "Git Context" custom tree view (this is an experiment from myself, not released on the market yet), it looks like the .gitignore entry belongs to the folder above, but in fact it doesn't.

Without icons, the layout is correct:

EDIT: I just noticed that the "minimal" icon theme of vs code has folder icons and then adjusts the padding accordingly:

Steps to Reproduce:
In the first picture, in the "Git Context" custom tree view (this is an experiment from myself, not released on the market yet), it looks like the

.gitignoreentry belongs to the folder above, but in fact it doesn't.Without icons, the layout is correct:

EDIT: I just noticed that the "minimal" icon theme of vs code has folder icons and then adjusts the padding accordingly: