microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.53k stars 28.11k forks source link

File Explorer and Outline left padding are inconsistent #216539

Open rebornix opened 2 weeks ago

rebornix commented 2 weeks ago

Does this issue occur when all extensions are disabled?: Yes/No

image

As shown above, the indentation in the outline is consistent while there are some additional left padding in the file explorer, pushing the tree view to the right side a bit more.

benibenj commented 2 weeks ago

I believe this is by design and only the case with the file explorer. @lramos15 probably knows more about this. What is the main reason for it?

lramos15 commented 2 weeks ago

I'm not sure maybe @isidorn knows since he owned explorer before me.

I know that when we have a file icon theme that has folders the indentation can also change, so maybe that accounts for some of it.

isidorn commented 2 weeks ago

Yes, I think it was related to the file icon theme change. I know @aeschli was looking into the alignment with and without icons.

My knee jerk reaction - changing this is opening a can of worms.