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

GridPane: When ColumnConstraints.maxWidth=USE_PREF_SIZE and ColumnConstraints.prefWidth=USE_COMPUTED_SIZE then ColumnConstraints.minWidth is ignored.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Environment:

      Master JavaFX 2.1 build #102

      Product: javafx-2.1.0beta
      Platform: macosx-universal
      Build-Number: 102
      Build-ID: 2012-03-21_02-51-00

      Description

      Consider the attached example.
      We have a grid with two column, each of them configured with ColumnConstraints.
      The button is in the second column.
      The first colum has a minWidth=100.0 - and despite that, its actual size is 0.

        Attachments

        1. gpbug.png
          gpbug.png
          14 kB
        2. LoadFXML.zip
          16 kB

          Activity

            People

            • Assignee:
              kwwong Kinsley Wong
              Reporter:
              dfuchs Daniel Fuchs
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: