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

Add support for DPI Scaling (HiDPI or DPI Awareness) #55

Open
ManiacDC opened this issue Jul 23, 2015 · 2 comments
Open

Add support for DPI Scaling (HiDPI or DPI Awareness) #55

ManiacDC opened this issue Jul 23, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@ManiacDC
Copy link
Owner

When the system DPI is changed, TypingAid doesn't work well. The height and width of the ListBox are not computed correct. On Windows Vista and higher, the listbox displays in the wrong position for apps that don't support DPI awareness.

@ManiacDC ManiacDC added the bug label Jul 23, 2015
@ManiacDC ManiacDC self-assigned this Jul 23, 2015
@ManiacDC ManiacDC added this to the Coding milestone Jul 23, 2015
@ManiacDC
Copy link
Owner Author

fbb9c0c

I added "-DPIScale" to the ListBox, allowing it to return the proper width and height. The Character Width issue was fixed as part of:
5376c6a

In Windows 8.1 I can detect that an application is not DPI aware, but in prior versions I cannot. I'm going to add an override option to the preferences.

@ManiacDC
Copy link
Owner Author

ManiacDC commented Aug 4, 2015

Added an override option in the preferences for prior versions of Windows.
0f8bd9e

Note that this has not been tested in 8.1+ to verify that the DPI scaling is detected properly.

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

No branches or pull requests

1 participant