Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icons not aligned #33

Closed
ghost opened this issue Jan 10, 2017 · 1 comment
Closed

icons not aligned #33

ghost opened this issue Jan 10, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 10, 2017

jaypei/emacs-neotree#214

@domtronn
Copy link
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?

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

No branches or pull requests

1 participant