unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Pit-Claudel" <cpitclaudel@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Using images in tabs
Date: Mon, 16 Sep 2019 18:49:22 -0400	[thread overview]
Message-ID: <1b256154-0942-43fe-da3f-33ef5840f0f0@gmail.com> (raw)
In-Reply-To: <87k1a8yngo.fsf@mail.linkov.net>

On 2019-09-16 16:51, Juri Linkov wrote:
>>>>> I don't know if the patch to vertically center line content
>>>>> recently sent here by Jesse, could improve the look to align
>>>>> the button image to the center of the text line in tabs.
>>>>
>>>> The image used should be centered to begin with.  You could also try
>>>> playing with :ascent property of images.
>>>
>>> Thanks for the hint.  Using :ascent property with the center value
>>> on images solved the issue, so now tabs are more nice-looking:
>>
>> Do images also play nice with HiDPI?
> 
> I don't know, I'm using HiDPI and see no problems.  But maybe if
> someone prefers Double HiDPI with huge scaling, then we could provide
> larger images.  Is it possible to detect such scaling in Emacs?

Would using SVG be an option? I use SVG (with a fallback) in my packages when I support the tool-bar, and it works nicely wrt scaling.



  parent reply	other threads:[~2019-09-16 22:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87tv9ir38c.fsf@mail.linkov.net>
     [not found] ` <83ftl11xdn.fsf@gnu.org>
2019-09-12 21:18   ` Using images in tabs (was: bug#37385: 27.0.50; Crash on multibyte assertion violation) Juri Linkov
2019-09-13  6:22     ` Eli Zaretskii
2019-09-15 20:57       ` Using images in tabs Juri Linkov
2019-09-16  4:15         ` Yuri Khan
2019-09-16  4:39           ` Eli Zaretskii
2019-09-16 20:51           ` Juri Linkov
2019-09-16 21:20             ` Lars Ingebrigtsen
2019-09-17 20:33               ` Juri Linkov
2019-09-18  6:44                 ` Robert Pluim
2019-09-18 13:43                 ` Lars Ingebrigtsen
2019-09-18 20:50                   ` Juri Linkov
2019-09-19 13:47                     ` Lars Ingebrigtsen
2019-09-20 18:44                       ` Alan Third
2019-09-16 22:49             ` Clément Pit-Claudel [this message]
2019-09-17  6:16               ` Eli Zaretskii
2019-09-17 20:35               ` Juri Linkov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1b256154-0942-43fe-da3f-33ef5840f0f0@gmail.com \
    --to=cpitclaudel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).