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

CONSTRAINED_RESIZE_POLICY sometimes ignored when setMaxWidth is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • tbd
    • fx2.0.2, fx2.1
    • javafx

    Description

      Full description of the issue + sample code here: http://stackoverflow.com/questions/10716811/tableview-does-not-always-resize-the-columns
      In summary, in a TableView using the CONSTRAINED_RESIZE_POLICY policy, when setMaxWidth is applied to columns and the window is maximised then restored to original size, the policy is not applied any longer.

      It seems that because the setMaxWidth prevents the policy to be applied when the window is maximized, the columns are not resized any longer when the window is restored to its original size.

      Attachments

        Issue Links

          Activity

            People

              angorya Andy Goryachev
              ytallecjfx Yann Le Tallec (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: