Skip to content

Fix scaling in SplitContainer controls for high DPI machines - #7990

Merged
dreddy-work merged 4 commits into
mainfrom
dev/dreddy/SplitContainerfix
Oct 23, 2022
Merged

Fix scaling in SplitContainer controls for high DPI machines#7990
dreddy-work merged 4 commits into
mainfrom
dev/dreddy/SplitContainerfix

Conversation

@dreddy-work

@dreddy-work dreddy-work commented Oct 21, 2022

Copy link
Copy Markdown
Member

Fixes #3168 in combination with #7956

Proposed changes

  • Scaling SplitterDistance property when DPI changed event occurs.
  • Updating Panel sizes when FixedPanel property is set and DPI changed event occurs.
  • Add unit test for future reference.
Microsoft Reviewers: Open in CodeFlow
@dreddy-work
dreddy-work requested a review from a team as a code owner October 21, 2022 21:30
@ghost ghost assigned dreddy-work Oct 21, 2022
Comment thread src/System.Windows.Forms/tests/UnitTests/SplitContainerTests.cs Outdated
Comment thread src/System.Windows.Forms/tests/UnitTests/SplitContainerTests.cs Outdated
Comment thread src/System.Windows.Forms/tests/UnitTests/SplitContainerTests.cs
@ghost ghost added waiting-author-feedback The team requires more information from the author and removed waiting-author-feedback The team requires more information from the author labels Oct 23, 2022
@dreddy-work
dreddy-work requested a review from RussKie October 23, 2022 23:10
RussKie
RussKie previously approved these changes Oct 23, 2022
@dreddy-work
dreddy-work enabled auto-merge October 23, 2022 23:12
@dreddy-work
dreddy-work merged commit d9f3ad9 into main Oct 23, 2022
@dreddy-work
dreddy-work deleted the dev/dreddy/SplitContainerfix branch October 23, 2022 23:57
@ghost ghost added this to the 8.0 Preview1 milestone Oct 23, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Nov 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants