On Tue, 17 Feb 2026 12:24:50 GMT, Michael Strauß <[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.
>
> Maybe we should have a unit test to prevent a future regression.

> 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.

Could you explain what you mean by that?  Is that a change from how it worked 
in JavaFX 24?  My intention with this change is not to fix other bugs, just the 
regression presented in the ticket, although it is possible that changes in the 
Region function it uses fixed something else as well.

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

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

Reply via email to