[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NS port menus (was: bug#44333: 27.1; macOS menu bar 2-clicks)
From: |
Mattias Engdegård |
Subject: |
Re: NS port menus (was: bug#44333: 27.1; macOS menu bar 2-clicks) |
Date: |
Mon, 28 Dec 2020 18:38:09 +0100 |
27 dec. 2020 kl. 19.21 skrev Alan Third <alan@idiocy.org>:
> I've moved this to Emacs Devel because that bug report is closed now
> and it didn't seem like the right place to discuss it.
Agreed; this is now bug#45502.
> I'd wondered about using NSAttributedString and NSParagraphStyle to
> set a tab stop at a specific pixel point, that should allow perfect
> alignment, or, and this is a bit hackier, display the binding in a
> monospace font. Then you could use (variable space font) spaces and
> tabs to line up the start of the binding text, then use (monospace
> font) spaces to align the bindings. That's maybe a bit too much work,
> though, and I'm not at all knowledgeable about how NSAttributedStrings
> actually work, so maybe it's impossible.
It didn't look obvious how to do it, but I could use some help.