Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

icons not aligned #33

Closed
untoreh opened this Issue Jan 10, 2017 · 1 comment

Comments

Projects
None yet
2 participants

@domtronn domtronn added the file viewer label Feb 3, 2017

Owner

domtronn commented Feb 3, 2017

This issue is hard to fix... We can propertize the height and vertical alignment of font characters, but the widths are pretty static and they can't be horizontally aligned like you would with CSS.

This is part of the reason that I recommend having tab characters between the icons and the file/directory names in NeoTree - Tabs at least fill whitespace and should cause monospace fonts to line up.

I could update all-the-icons-icon-for-dir to place a tab between the icon and the directory name which would look like the screenshot below...

screen shot 2017-02-03 at 21 35 06

But that's then dependent on the users tab width and things and it still puts quite a lot of padding between them. If you're happier with this appearance, I'll push these modifications?

@domtronn domtronn added 3rd party and removed 3rd party labels Feb 3, 2017

domtronn added a commit that referenced this issue Feb 4, 2017

@domtronn domtronn closed this Feb 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment