On Sun, 9 Jan 2022 15:20:36 GMT, Johan Vos <j...@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.

I've added a new button to the test programm. The 5th button now literally 
jumps into the "Nothingness"
<img width="302" alt="Screenshot 2022-01-13 at 10 48 52" 
src="https://user-images.githubusercontent.com/6547435/149306510-3b6348d2-6f3a-442c-bd01-80a57dbb0245.png";>
.

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

PR: https://git.openjdk.java.net/jfx/pull/712

Reply via email to