rxi / lite

A lightweight text editor written in Lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HiDPI support?

resetreboot opened this issue · 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

launch the editor with your own SCALE envvar.

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)

Sorry I made a mistake. it was actually LITE_SCALE.

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

commented

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