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

Fix MeasureCore when there's a size constraint and there's a negative… #18462

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

appel1
Copy link
Contributor

@appel1 appel1 commented Mar 17, 2025

… margin.

What does the pull request do?

Fixes size of layoutable when there's a size constraint and negative margin.

What is the current behavior?

The layoutables desired size becomes smaller than expected.

Fixed issues

Fixes #18124

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.3.999-cibuild0055595-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@MrJul MrJul added the bug label Mar 17, 2025
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.

Negative margins does not behave as expected when there's a size constraint
3 participants