Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it is too small on ubuntu with 4k display #1932

Open
aohanhongzhi opened this issue Nov 5, 2024 · 8 comments
Open

it is too small on ubuntu with 4k display #1932

aohanhongzhi opened this issue Nov 5, 2024 · 8 comments

Comments

@aohanhongzhi
Copy link

image

@Guldoman
Copy link
Member

Guldoman commented Nov 5, 2024

Yeah at the moment we're ignoring scaling info because they caused some (literally huge) issues on some systems.

You can specify a custom scale by setting the LITE_SCALE env var.

@lacastorine
Copy link

same issue with new build 2.1.6 on macbook air (m1). everything is very small. changing SCALE does not help - its scales not only fonts and icons, but all other UI also - spaces, line heights, ...

2.1.6 with SCALE=1
image

2.1.6 with SCALE=2
image

on 2.1.5 with default SCALE=1 UI is fine
image


another issue with 2.1.6 - is cursor - it is not wisible on some posittions - ex. after numbers

@Guldoman
Copy link
Member

How are you setting SCALE?

another issue with 2.1.6 - is cursor - it is not wisible on some posittions - ex. after numbers

Could you open another issue about this, with reproduction steps?

@lacastorine
Copy link

How are you setting SCALE?

add in init.lua

SCALE=2

@Guldoman
Copy link
Member

Avoid doing that, use the LITE_SCALE env var.

@lacastorine
Copy link

possibly I'm doing smth wrong, but setting env doesn't change anathyng at all

~ % printenv
...
LITE_SCALE=2
....
~ % open -n /Applications/Lite\ XL.app

image

@Guldoman
Copy link
Member

I'm not sure how macOS handles those.

Still, it should just scale correctly without any env var on macOS.
Investigating.

@lacastorine
Copy link

Fixed for me on macOS with #1969 - no additional env var needed. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants