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

TableView auto fit best column width with TableView.UNCONSTRAINED_RESIZE_POLICY

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • 7u45, 8
    • javafx
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported: