neovim-e icon indicating copy to clipboard operation
neovim-e copied to clipboard

HiDPI on Linux.

Open trusktr opened this issue 10 years ago • 4 comments

On Linux, in Gnome 3 at 2x scale, Neovim-e is still at 1x scale, and it's tiny. I wonder what's the best way to double it's size on Linux.

trusktr avatar Aug 16 '15 05:08 trusktr

Here's what it looks like (notice the tiny content of the window with white borders):

screenshot from 2015-08-27 23-47-01

I wonder if we can make it twice as big?

trusktr avatar Aug 28 '15 06:08 trusktr

@coolwanglu See: https://github.com/atom/electron/issues/2625#issuecomment-136241893

trusktr avatar Aug 31 '15 03:08 trusktr

@trusktr Good to know. Yet there may be a problem to access configuration in nvim.html. A good solution would be pass webframe out of the renderer.

coolwanglu avatar Aug 31 '15 08:08 coolwanglu

@coolwanglu I gave it a try, and it works in the main.coffee file. What it does is change the window.devicePixelRatio. I don't think using webFrame like that is the solution. For example, that doesn't change the zoom level of the file menu at the top (outside of the browser area). Maybe there should be a way to scale the whole app as a whole?

trusktr avatar Aug 31 '15 14:08 trusktr