Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8329104

TableView: column momentarily shift due to vertical scroll bar

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx21
    • javafx
    • None

      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

            angorya Andy Goryachev
            angorya Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: