emersion / emersion/mako

Inline icons via markup.

Open
#475 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
3.3k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

The `icon-location` supports: `left`, `right`, `top`, `bottom`

However, each of these locations are centered on the perpendicular axis. (location `left` is vertically centered, location `top` is horizontally centered).

For some apps, I use large images in the `left` location (music player shows album art).

However, for some apps I'd like a small icon (for quick identification) contained within the title as shown in the example.

I imagine that this could be implemented using the markup scheme. This would offer much more customization.

Is there an existing method to achieve something similar that I'm overlooking?

![image](https://github.com/emersion/mako/assets/560749/325ffdd8-70e0-4373-bcaa-54617aaa4c4e)

An alternative could be to be able to select an alignment "top / center / bottom" or "left / center / right" depending on the location.

Contributor guide

Open the contributing guide

Research direction

The issue names the `icon-location` setting and a possible markup scheme, but no files, tests, or entry points. Start by locating the existing `icon-location` implementation and its configuration or markup documentation; done requires an agreed behavior and corresponding support for inline icons or alignment.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.