On Mon, 16 Feb 2026 20:06:45 GMT, John Hendrikx <[email protected]> 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.

Hey, I'm not sure if my issue is related in some way to this, but text wrapping 
behavior seems to have changed from JavaFX 24 to 25.
I have this:

var bottom = new Label(description);
bottom.getStyleClass().add("description");
var vbox = new VBox(top, bottom);

And this piece of CSS:

.description {
    -fx-padding: 0.5em 0 0 0;
    -fx-font-size: 1.083333em;
    -fx-wrap-text: true;
}


After updating to JavaFX 25 the text is truncated. Before it would take as 
height as needed to show all the text.

Sorry if this is OT, I tried searching for any commit that may have caused this 
but could not find anything.
The closest thing I found was 7699c44 by @andy-goryachev-oracle but it is also 
included in v23 and v24. This behavior I'm observing is present only in v25

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

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

Reply via email to