-
Notifications
You must be signed in to change notification settings - Fork 16
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
High DPI for 4k displays? #103
Comments
I use a "auto sizer" depending of the font.height selected in the config for ideU and StrumPract. resize.mp4Maybe something similar could be used to ajust for DPI? |
fpGUI has some DPI feature. Here one:
https://github.com/graemeg/fpGUI/blob/develop/src/gui/fpg_toolbox.pas Maybe take some inspiration? |
Well, I'm not familiar on such low level layer but I guess that some kind of X11 event is getting what is a user scale (beside resolution). I don't expect to be easy in implementation. On my day work I'm working on Delphi 11 and even on such newest version, DPI is a nightmare on windows. Lazarus on Linux Mint is working just like that with my 4k monitor and scale settings, I even don't need to change anything in project settings |
Did you try a fpgui app, is it ok using the DPI fpc_toolbox (I think it is also gdi32-Windows compatibe)? |
May I ask you to try with ideU? |
I am happy that you like it! For auto-sizing, it is very simple.
And then a resize method:
To get the resolution of screen:
|
|
Hi,
Does MSEGUI have support for high DPI? I have 4k monitor with Linux Mint, resolution 3840x2160 and scale 200% and MSEIDE and default demo app are just tiny :( . Is there any workaround?
Regards
The text was updated successfully, but these errors were encountered: