This is how Obsidian aligns the file-tree by default. It may look misaligned when expanded because of the vertical lines, but it's actually not as the file names line up with the folder names.
This fix ensures the file-tree remains visually aligned when file icons are enabled (since that what issue #215 was about).
"Visually aligned" meaning the folder/file names remain aligned like this:
Here with file icons enabled:
And also here with both folder/file icons enabled:
Because this issue is only related to file icon alignment, I have removed the "File Icon Alignment" option since I don't think it's necessary (file icons should be aligned by default and they shouldn't change the file-tree layout when enabled).
This is how Obsidian aligns the file-tree by default. It may look misaligned when expanded because of the vertical lines, but it's actually not as the file names line up with the folder names.
This fix ensures the file-tree remains visually aligned when file icons are enabled (since that what issue #215 was about).
"Visually aligned" meaning the folder/file names remain aligned like this:
Here with file icons enabled:
And also here with both folder/file icons enabled:
Because this issue is only related to file icon alignment, I have removed the "File Icon Alignment" option since I don't think it's necessary (file icons should be aligned by default and they shouldn't change the file-tree layout when enabled).