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

Backport TextBlock fixes #17505

Merged
merged 3 commits into from
Nov 15, 2024
Merged

Conversation

Gillibald
Copy link
Contributor

@Gillibald Gillibald commented Nov 14, 2024

Gillibald and others added 3 commits November 14, 2024 06:15
…niaUI#17271)

* Rework how TextBlock skips redundant measure and arrange calls
Add some tests

* Adjust tests

* Try this

* Make sure the TextBlock is arranged after it has been measured with a different availableSize

* Make it more clear that we are resetting and recreating the TextLayout

* Capture textLayout after inlines have been processed
…valoniaUI#17183) (AvaloniaUI#17194)

* InlineUiContainer clip fix

* Removed LINQ, redo check

* bugfix/InlineUiContainer-clip-in-text: redo everything

* fixes by Gillibald

---------

Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
…ned (AvaloniaUI#17402)

* Always measure TextBlock with infinite width

* Make sure the constraint is always fulfilled

* Add some tests

* Adjust tests because we no longer retain the TextLayout in the arrange pass
@grokys grokys added the bug label Nov 15, 2024
@grokys grokys merged commit 8ffd557 into AvaloniaUI:release/11.1 Nov 15, 2024
4 checks passed
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.

3 participants