Skip to content

Conversation

@Stebalien
Copy link
Contributor

Instead of using the frame's char height, set the icon's maximum height relative to the surrounding text. Additionally, center icons on the line (to avoid increasing the line height.

Instead of using the frame's char height, set the icon's maximum height
relative to the surrounding text. Additionally, center icons on the
line (to avoid increasing the line height.
@sinic
Copy link
Owner

sinic commented Nov 3, 2025

Cool, thanks!

I might tweak the exact image descriptor at some point, because a visible baseline (like in my mode line) now intersects the notification icon, but the scrolling behavior is clearly superior to what it was before.

@sinic sinic merged commit dba45d8 into sinic:master Nov 3, 2025
14 checks passed
@Stebalien
Copy link
Contributor Author

Thanks!

FYI, you can tell Emacs to draw an underline at the descent-line instead of at the base-line by specifying :underline (:position t) in the face.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants