TableView auto fit best column width with TableView.UNCONSTRAINED_RESIZE_POLICY

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u20
    • Affects Version/s: 7u45, 8
    • Component/s: javafx
    • Environment:

      Windows, Linux jdk1.7.0_45, jdk1.8.0

      When i create a non empty TableView with TableView.UNCONSTRAINED_RESIZE_POLICY, and first time swap column positions, all columns resizes to best fit their content. If i firstly resize one of the columns, and then swap their positions, then only columns, which were not resized, fit best their content. When i resize columns and swap their positions not the first time, all works correct, and there is no auto resize.
      If TableView is empty, swapping column's positions works correctly.
      If TableView with TableView.CONSTRAINED_RESIZE_POLICY all works correct.

            Assignee:
            Jonathan Giles
            Reporter:
            Roman I. Liverovskiy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: