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

TableView auto fit best column width with TableView.UNCONSTRAINED_RESIZE_POLICY

    XMLWordPrintable

    Details

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

      Windows, Linux jdk1.7.0_45, jdk1.8.0

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: