TableView: column momentarily shift due to vertical scroll bar

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx21
    • Component/s: 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

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

              Created:
              Updated: