-
Notifications
You must be signed in to change notification settings - Fork 12
After the screen is zoomed, the editing window is too small #19
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
Comments
Interesting ... what screen resolution are you using? |
This is a notebook, the resolution is too high, so adjust the zoom |
You mean the nana::zoom function ? |
The nana component is adaptive, and its own window needs to be adjusted accordingly login_form fm(0);
auto dpi = nana::api::window_dpi(fm);
if (dpi > 96) {
auto iSize = fm.size();
iSize.height *= dpi / 96;
iSize.width *= dpi / 96;
nana::api::window_size(fm, iSize);
}
fm.show(); |
Ok I have to adjust the code to work with high dpi screen. |
Is there any progress?😁 |
I'm sorry in these days I'm very busy and it's hard to find time to work on nana creator. Hope to work on it in the coming weeks |
Just to let you know I started working on this issue and I found a cuople of bugs in nana lib. We'll need some times to fix both. |
Thank you, it's finally started, happy😁😁😁 |
Did the previous version still not fix DIP scaling? |
Just uploaded a new version 0.32.0 with few fixes based on DPI scaling. |
The text was updated successfully, but these errors were encountered: