-
Notifications
You must be signed in to change notification settings - Fork 9
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
Inconsistent spacing #8
Comments
I see that I also have a spacing issue "all-the-icons-ivy.el" is taking more height than for example "scratch"... |
This way there's always some icon rendered Related to #8
@Sbozzolo I've just pushed a commit that adds an icon it seems that it helped. |
The default overwrite is to set `:height` to `1.0`. Related to #8
@Sbozzolo I appreciate you're attention to details. I've made a change in the last push. Please have a look. I hope it won't trigger unwanted side effects. |
I changed the theme and the new one has a subtle highlighter, so it is harder to tell. However, if I focus I can see some small inconsistent behaviors. For instance in the centering of the icon with respect to the height text. |
Oh boy I think that's too much of fine tuning for me. I will leave this issue open. I will revert my last change and put it in a separate branch, so if someone wants could potentially continue the work there. |
The branch is this one: https://github.com/asok/all-the-icons-ivy/tree/overwrite-args |
Thanks for your efforts!
Adam Sokolnicki writes:
… The branch is this one: https://github.com/asok/all-the-icons-ivy/tree/overwrite-args
|
@loafofpiecrust if you download this file and evaluate the buffer https://github.com/asok/all-the-icons-ivy/blob/overwrite-args/all-the-icons-ivy.el does it help? |
@asok Using that branch does help, but it isn't a complete solution.
|
@loafofpiecrust does it help if you do |
@asok That seems to help a bit, at least for the Rust icon, but since that adjusts all icon positions it's not a fix. The problem is that the icons are positioned and sized differently from each other. Could this have to do with inconsistency within the font itself? |
I believe so. If you look here you can see that the icon for rust is defined as 1.2 height. I do know why it is so. Maybe it makes sense adjust the icons if they are to be displayed horizontally. But clearly for ivy candidates this creates the weird spacing.
That is the reason why I have not merged in that branch. I'm not sure if I don't break stuff. |
Hi,
there are some (minor) problems with
all-the-icons-ivy
on my machine.Some entries are not iconified, and it is seems that this breaks the formatting, as you can see in the following screenshot.
Maybe this could be solved by having a generic icon for everything which has no specific icon.
Moreover, it also seems that the height of each entry is inconsistent. This is especially clear when you look at the highlighted region, which varies in height depending on the icon. For instance, in the previous screenshot, the white space is not balanced in the selected entry.
(I am aware that these are very fine details, and maybe they bother only me.)
Thanks,
sbozzolo
The text was updated successfully, but these errors were encountered: