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

TabPane min size seems to be set to pref size of the content rather than min size of the content

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      8.0-graphics-scrum-b397-x64
      Windows 7 x64

      Description

      Run the attached app and try to resize it. Root region background is light-red and its layoutChildren method uses layoutInArea method to leave 50 px on the right and bottom side.

      Although min size for the content of the Tab is set to 100x100, it is being constrained by the content's pref size of 700x500.

        Attachments

        1. Bug.java
          2 kB
        2. constrained.jpg
          constrained.jpg
          25 kB
        3. initial.jpg
          initial.jpg
          28 kB

          Issue Links

            Activity

              People

              • Assignee:
                jgiles Jonathan Giles
                Reporter:
                mrkam Alexander Kuznetcov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:
                  Imported: