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

CONSTRAINED_RESIZE_POLICY sometimes ignored when setMaxWidth is used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: fx2.0.2, fx2.1
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ytallecjfx Yann Le Tallec (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Imported: