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

The interface is too small on high dpi screens. #9

Closed
Losses opened this issue Sep 1, 2019 · 1 comment
Closed

The interface is too small on high dpi screens. #9

Losses opened this issue Sep 1, 2019 · 1 comment

Comments

@Losses
Copy link

Losses commented Sep 1, 2019

Is it possible to automatically handle high dpi screen problem?

image

@Gnimuc
Copy link
Owner

Gnimuc commented Sep 1, 2019

You mean the size of the default font is too small? I guess Roboto-Medium would be a better choice for high dpi screens.

fonts_dir = joinpath(@__DIR__, "..", "fonts")
fonts = CImGui.GetIO().Fonts
CImGui.AddFontFromFileTTF(fonts, joinpath(fonts_dir, "Roboto-Medium.ttf"), 16)

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

2 participants