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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • 8.0-graphics-scrum-b397-x64
      Windows 7 x64

      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.

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

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

              Created:
              Updated:
              Resolved:
              Imported: