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

John Hendrikx jhendrikx at openjdk.org
Thu Feb 26 00:33:38 UTC 2026


On Wed, 25 Feb 2026 08:42:20 GMT, Alessadro Parisi <duke at openjdk.org> wrote:

> > @palexdev Sorry, I totally misread your question, I thought this was about `FlowPane`.
> > There are no problems in `VBox` that I'm aware of. Could you create a small test program to show me the exact issue, and I will take a look at where the problem is?
> 
> @hjohn Actually, our layout is much more complex, because the tiles we have are ultimately wrapped in FlowPanes. I built JavaFX locally including this change and it actually fixed the issue. So, I can confirm that what we are experiencing is the same regression. Will this fix be backported to v25?

Thanks for confirming that this fix would solve your problem. I think there is a good chance this may be backported, as the fix is small and it fixes a regression. @johanvos will know more.

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

PR Comment: https://git.openjdk.org/jfx/pull/2077#issuecomment-3963110061


More information about the openjfx-dev mailing list