Withdrawn: [WIP] 8277785: ListView scrollTo jumps to wrong location when CellHeight is changed

Johan Vos jvos at openjdk.org
Thu Jul 7 11:15:08 UTC 2022


On Sun, 9 Jan 2022 15:20:36 GMT, Johan Vos <jvos at openjdk.org> wrote:

> When the size of a ListCell is changed and a scrollTo method is invoked without having a layout calculation in between, the old (wrong) size is used to calculcate the total estimate. This happens e.g. when the size is changed in the `updateItem` method.
> This PR will immediately resize the cell and sets the new value in the cache containing the cellsizes.

This pull request has been closed without being integrated.

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

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


More information about the openjfx-dev mailing list