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

[Bug]: KryptonPropertyGrid 'jagged' text #1109

Closed
PWagner1 opened this issue Aug 27, 2023 · 2 comments
Closed

[Bug]: KryptonPropertyGrid 'jagged' text #1109

PWagner1 opened this issue Aug 27, 2023 · 2 comments
Labels
answered This question has been adequately answered. bug Something isn't working

Comments

@PWagner1
Copy link
Contributor

While investigating #1105, I noticed that the text in KryptonPropertyGrid was 'jagged'

image

This does not happen in the designer

@PWagner1 PWagner1 added the bug Something isn't working label Aug 27, 2023
@Smurf-IV Smurf-IV self-assigned this Aug 28, 2023
@Smurf-IV
Copy link
Member

Smurf-IV commented Aug 28, 2023

The "Jagged Text" is a result of the following being set to true:
image

Notes:

Workarounds:

  • Make PropertyGrid use the "slower" DrawString
    • Lots of code will need to be implementyed, because currently thi sis a "thin" wrapper around the Winform PropertyGrid
    • Not performant
  • Some sort of message stating that Application.SetCompatibleTextRenderingDefault(false) needs to be set

@Wagnerp
thoughts?

@Smurf-IV Smurf-IV added under investigation This bug/issue is currently under investigation. awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. labels Aug 28, 2023
@PWagner1
Copy link
Contributor Author

@Smurf-IV Might be worth putting a note about this in the Readme

Smurf-IV added a commit that referenced this issue Sep 3, 2023
@Smurf-IV Smurf-IV added answered This question has been adequately answered. and removed under investigation This bug/issue is currently under investigation. awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. labels Sep 3, 2023
@Smurf-IV Smurf-IV removed their assignment Sep 3, 2023
@Smurf-IV Smurf-IV closed this as completed Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered This question has been adequately answered. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants