lite icon indicating copy to clipboard operation
lite copied to clipboard

HiDPI support?

Open resetreboot opened this issue 3 years ago • 6 comments

So I tried this promising text editor, but on a HiDPI device looks... too small. I've been taking a look at the source to see how to set a scaling of some sort, but nothing comes clear.

Attached there's a screenshot of how it looks like. 2021-02-22_18-03

resetreboot avatar Feb 22 '21 17:02 resetreboot

launch the editor with your own SCALE envvar.

takase1121 avatar Feb 23 '21 09:02 takase1121

I tried running version 1.11 with SCALE=2 lite but the UI did not scale. Is that expected to work?

OS: Arch Linux DE: Awesome (X11)

wezm avatar Feb 24 '21 22:02 wezm

Sorry I made a mistake. it was actually LITE_SCALE.

takase1121 avatar Feb 25 '21 00:02 takase1121

That worked, thanks!

On Thu, 25 Feb 2021, at 10:08 AM, Takase wrote:

Sorry I made a mistake. it was actually LITE_SCALE.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rxi/lite/issues/258#issuecomment-785476949, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAFKG2YPZ2GAKXEPCASYVLTAWIHRANCNFSM4YA4QEZA.

wezm avatar Feb 25 '21 00:02 wezm

lite is really nice 👍 but it lacks a good doc 😉

patatetom avatar Feb 25 '21 09:02 patatetom

You can also take the scale plugin. And set the desired scale in the config file:

local scale = require "plugins.scale"
config.scale_mode = "ui"
scale.set_scale(1.25)

It also has a plugin for displaying the current scale. And a couple of fixes: https://github.com/rxi/lite-plugins/pulls?q=is%3Apr+scale+author%3AJipok

Jipok avatar Feb 25 '21 20:02 Jipok