lite-xl icon indicating copy to clipboard operation
lite-xl copied to clipboard

Display is very small on Windows 11

Open aks2161989 opened this issue 5 months ago • 6 comments

So I just downloaded the Zipped version for Windows and the display is very small. Here is a screenshot

Image

Is there a way I can change this?

aks2161989 avatar Jun 06 '25 02:06 aks2161989

For now, you can modify this kinda thing with the LITE_SCALE environmental variable, if it's out of whack for your system. Try LITE_SCALE=1. I think.

EDIT: Or maybe LITE_SCALE=2? Try a few values. Can't remember which way this is working atm; but should be fixed with the adoption of SDL3.

adamharrison avatar Jun 06 '25 02:06 adamharrison

Thank you! So I created a file init.lua in the same directory as the application and set the env variable to different values. But nothing seems to change

aks2161989 avatar Jun 06 '25 02:06 aks2161989

So, init.lua in the same directory isn't a way you can modify lite's behavior.

Did you try just setting LITE_SCALE as an environment variable from the command line?

adamharrison avatar Jun 06 '25 03:06 adamharrison

Oh thank you for the info! I am not sure how to set LITE_SCALE on the commandline. Should the command look like this? lite-xl.exe --LITE_SCALE=2

aks2161989 avatar Jun 06 '25 03:06 aks2161989

Can you try the release in https://github.com/lite-xl/lite-xl/releases/tag/v2.1.8-rc3?

It adds some HiDPI support, though it would probably explode when switching between different DPI monitors.

takase1121 avatar Jun 06 '25 04:06 takase1121

That version seems to look the same on my end, even after using that env variable while launching it from the commandline.

aks2161989 avatar Jun 06 '25 22:06 aks2161989

very nice! it's ok

cmd==>

set LITE_SCALE=2

lite-xl

miaomiao1992 avatar Jul 10 '25 01:07 miaomiao1992

LITE_SCALE can have real (non-integer) values too. On my machine a value of 1,3 looks good to me.

drewnoakes avatar Aug 11 '25 10:08 drewnoakes