On Mon, 17 Nov 2025 21:46:06 GMT, Andy Goryachev <[email protected]> wrote:

> Requesting `VFlow` re-layout when signaled by a `Node` embedded in `TextCell`.
> 
> 
> ### NOTES
> 
> - this PR depends on https://github.com/openjdk/jfx/pull/1974
> - the fix can be verified visually using the latest Monkey Tester
> 
> <img width="1232" height="741" alt="Screenshot 2025-11-17 at 13 43 12" 
> src="https://github.com/user-attachments/assets/58b2ef77-094c-45bd-8a04-3caaa4672df1";
>  />

modules/jfx.incubator.richtext/src/main/java/com/sun/jfx/incubator/scene/control/richtext/TextCell.java
 line 474:

> 472:             if (vf != null) {
> 473:                 vf.requestLayout();
> 474:             }

Would `setNeedsLayout(true);` maybe work here instead ?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1975#discussion_r2546807506

Reply via email to