You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[release/9.0] Scale errorProvider Icon to DeviceDPI (#13079)
<!-- Please read CONTRIBUTING.md before submitting a pull request -->
BackPort PR #12947 to 9.0
Fixes#12939
## Proposed changes
- Calculate the display size of the ErrorProvide Icon according to the
DPI of the current device
<!-- We are in TELL-MODE the following section must be completed -->
## Customer Impact
- The icon of errorProvider is not scaled well on HDPI screen
## Regression?
- Yes. it's fine in dotnet 8. This is due to
#10850, the initial loaded size
of the ErrorProvider IconRegion is scaled to 100% DPI even on HDPI
screens.
## Risk
- Low – because the change only change ErrorProvider icon's display size
when it run in HDPI screen.
<!-- end TELL-MODE -->
## Testing
- Manual testing with the user-provided project
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/dotnet/winforms/pull/13079)
0 commit comments