When adding a TableView (and possibly TreeTableView), with a constrained column resize policy set, to the scene graph, the columns shift momentarily once VirtualFlow.computeBarVisibility() decides to show the vertical scroll bar in the second layout pass.
To reproduce:
- Run the attached code.
- click on [Pane 2] button
- observe the columns shift momentarily (may depend on the speed of the computer and other factors)
Original Stackoverflow posting:
https://stackoverflow.com/questions/77369768/javafx-tableview-text-in-the-cells-of-the-columns-seems-to-jump
Mailing List:
https://mail.openjdk.org/pipermail/openjfx-dev/2024-March/046177.html
To reproduce:
- Run the attached code.
- click on [Pane 2] button
- observe the columns shift momentarily (may depend on the speed of the computer and other factors)
Original Stackoverflow posting:
https://stackoverflow.com/questions/77369768/javafx-tableview-text-in-the-cells-of-the-columns-seems-to-jump
Mailing List:
https://mail.openjdk.org/pipermail/openjfx-dev/2024-March/046177.html