[PATCH] Add support for HiDpi screens

Enrico Forestieri forenr at lyx.org
Sat Jul 18 21:07:47 UTC 2020


On Sat, Jul 18, 2020 at 10:13:09PM +0200, Jean-Marc Lasgouttes wrote:
> Le 18/07/2020 à 19:05, Enrico Forestieri a écrit :
> > On Sat, Jul 18, 2020 at 12:06:26AM +0200, Jean-Marc Lasgouttes wrote:
> > > Now that I have a HiDpi screen, I really feel the need to do something.
> > > 
> > > This trivial patch works pretty well  with Linux/X11 :)
> > > 
> > > Could someone try it it with Windows/Wayland/macOS (with normal dpi or
> > > HiDpi).
> > > 
> > > I will try a few cases myself, but I could use some help.
> > 
> > I do not see any difference on Windows with HiDpi.
> > What should be paid attention to?
> 
> In Linux with a 13.4" 1920x1200 display with x1.25 scaling, the icons were
> ridiculously small. With this patch, it magically looks good.

You mean the normal sized icons? That's surprising. With a similar
configuration, on Windows changes nothing. The normal size icons are
still too small, but chosing the large ones is simply a right click on
a toolbar.

> The question is whether your needed to use weird settings to get things
> right.

Uh?

> BTW, do we have a strong attachment to our current icons sizes? I was
> wondering about using the ones proposed by QStyle, which are actually taken
> from the repsective OSes.

You know, if it ain't broke, don't fix it ;-)

-- 
Enrico


More information about the lyx-devel mailing list