On Thu, 15 May 2025 07:07:07 GMT, Ambarish Rapte <ara...@openjdk.org> wrote:

> Would it be possible to avoid re-layout of the cells that are after the Cell 
> with a disclosureNode ?

This is actually what is happening, when we scroll down and find a TreeCell 
that has a disclosure node this is when the condition `disclosureWidth > 
defaultDisclosureWidth` is true and we do a re-layout of the visible previous 
cells before the disclosure node and the new value is saved in the 
`maxDisclosureWidthMap` so the cells that are layouted after the disclosure 
node when scrolling are using the new value of `defaultDisclosureWidth`.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1715#discussion_r2090990731

Reply via email to