emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix placement of toggle and radio button in Lucid menu.


From: Eli Zaretskii
Subject: Re: [PATCH] Fix placement of toggle and radio button in Lucid menu.
Date: Thu, 24 Feb 2022 12:36:13 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel <emacs-devel@gnu.org>
> Date: Thu, 24 Feb 2022 18:19:18 +0800
> 
> Po Lu <luangruo@yahoo.com> writes:
> 
> > Those buttons are supposed to be placed relative to the descent line,
> > not the bottom of the text field.  So that's not a bug.
> 
> Sorry, I meant that they are supposed to be relative to the baseline.

That's true, but I wonder how come this code produces such high
position of the buttons?  It doesn't look like the button is centered
relative to the "middle" of the first character of the menu item's
label.  Can you or Manuel show the values of the font's ascent/descent
vs the actual metrics of the upper-case characters shown on the
screenshots, such as 'H', 'C', and 'S'?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]