RFR: 8377153: JavaFX FlowPane layout causing improper wrapping of TextFlow nodes with max-width styling

Andy Goryachev angorya at openjdk.org
Tue Feb 17 21:35:07 UTC 2026


On Mon, 16 Feb 2026 20:06:45 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

> This fixes the regression in FlowPane introduced with JDK-8350149 -- the calls have been adjusted in such a way that they follow the pre-25 JavaFX behavior.

agree with @mstr2 's suggestion to add a test: the stub text layout should be able to handle this case.

the change also fixed the vertical positioning of the flowPane's children, not sure why.

-------------

PR Review: https://git.openjdk.org/jfx/pull/2077#pullrequestreview-3816411043


More information about the openjfx-dev mailing list