From: chad <yandros@gmail.com>
To: EMACS development team <emacs-devel@gnu.org>
Subject: Re: [PATCH] Fix placement of toggle and radio button in Lucid menu.
Date: Mon, 28 Feb 2022 13:35:45 -0500 [thread overview]
Message-ID: <CAO2hHWaaEi5Opnc2BJuAOuVyFC1suiFuUoKQPFWMiYm16_UE7g@mail.gmail.com> (raw)
In-Reply-To: <87ee3nz8ea.fsf@elite.giraud>
[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]
On Mon, Feb 28, 2022 at 3:47 AM Manuel Giraud <manuel@ledu-giraud.fr> wrote:
> But I still find it to be high regarding the text label. I have tested
> with other fonts with the same result because the capital letters were
> always shorter than the full ascent of a font.
>
FWIW, I put this in front of a friend who used to do UI design, and they
said, roughly "you can try to get fancy with centering checkboxes on font
metrics, but most people actually like "a few pixels above the baseline",
as long as you don't go above the top line. Part of why this works is due
to the fact that very few fonts have capital letters with descenders, so
visually, you almost always get white space below the adjacent letter. If
you want to get fancy, you can compute "a few" as something like '(floor (/
font-size) 4)', but most designers can find a fixed value that works the
vast majority of the time". Tying this in with Eli's suggestion, this could
be a configurable value, defaulting to, say, 3 or some divisor of the font
size.
Hope that helps,
~Chad
[-- Attachment #2: Type: text/html, Size: 1476 bytes --]
next prev parent reply other threads:[~2022-02-28 18:35 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-24 9:01 [PATCH] Fix placement of toggle and radio button in Lucid menu Manuel Giraud
2022-02-24 10:06 ` Po Lu
2022-02-24 10:19 ` Po Lu
2022-02-24 10:36 ` Eli Zaretskii
2022-02-24 14:09 ` Manuel Giraud
2022-02-25 11:16 ` Manuel Giraud
2022-02-25 11:50 ` Po Lu
2022-02-26 17:38 ` Manuel Giraud
2022-02-25 12:18 ` Eli Zaretskii
2022-02-25 12:52 ` Manuel Giraud
2022-02-25 13:05 ` Eli Zaretskii
2022-02-25 13:46 ` Po Lu
2022-02-25 14:10 ` Eli Zaretskii
2022-02-26 0:20 ` Po Lu
2022-02-26 6:24 ` Eli Zaretskii
2022-02-26 7:33 ` Po Lu
2022-02-26 7:51 ` Eli Zaretskii
2022-02-26 8:35 ` Po Lu
2022-02-26 8:53 ` Eli Zaretskii
2022-02-25 14:46 ` Manuel Giraud
2022-02-25 14:57 ` Eli Zaretskii
2022-02-25 15:38 ` Manuel Giraud
2022-02-25 16:35 ` Eli Zaretskii
2022-02-26 0:21 ` Po Lu
2022-02-26 6:26 ` Eli Zaretskii
2022-02-26 7:35 ` Po Lu
2022-02-28 8:45 ` Manuel Giraud
2022-02-28 13:21 ` Eli Zaretskii
2022-02-28 21:19 ` Manuel Giraud
2022-03-01 3:33 ` Eli Zaretskii
2022-03-02 12:06 ` Manuel Giraud
2022-02-28 18:35 ` chad [this message]
2022-03-02 12:10 ` Manuel Giraud
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAO2hHWaaEi5Opnc2BJuAOuVyFC1suiFuUoKQPFWMiYm16_UE7g@mail.gmail.com \
--to=yandros@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.