RFR: 8291908: VirtualFlow creates unneeded empty cells

Ajit Ghaisas aghaisas at openjdk.org
Tue Aug 16 10:47:24 UTC 2022


On Thu, 4 Aug 2022 14:30:40 GMT, Johan Vos <jvos at openjdk.org> wrote:

> When calculating the viewportOffset, we now already take into account that cells will have to shift.
> 
> This prevents the creation of temporary empty cells in the layout phase.
> One test needed to be fixed, since the number of invocations to updateItem() was hardcoded (and it
> is decreased by this commit).

Fix looks good to me.

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

Marked as reviewed by aghaisas (Reviewer).

PR: https://git.openjdk.org/jfx/pull/863


More information about the openjfx-dev mailing list