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

Mac: Ensure Splitter.RelativePosition values fall within range #2016

Merged
merged 1 commit into from
Aug 18, 2021

Conversation

cwensley
Copy link
Member

This fixes getting preferred sizes for the Splitter. When the RelativePosition is too large it can cause the preferred size to be set to extremely large sizes due to division overflows, which can cause a crash when auto sizing a form.

@cwensley cwensley added the bug label Aug 18, 2021
@cwensley cwensley added this to the 2.6.0 milestone Aug 18, 2021
@cwensley cwensley merged commit 1ad7553 into picoe:develop Aug 18, 2021
@cwensley cwensley deleted the curtis/mac-splitter-fixes branch August 18, 2021 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant