Use placeholder dimensions that reflect the final text layout (#42558)
The _computeChildren[Width/Height]With[Min/Max]Intrinsics methods in RenderParagraph overwrite the text painter's placeholder dimensions in order to compute potential widths and heights for the paragraph. The placeholder dimensions should be restored to the values computed by _layoutChildren before painting the text.
Showing
Please register or sign in to comment