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.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u6
    • fx2.1
    • javafx
    • 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

      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.

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

            kwwong Kinsley Wong (Inactive)
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: