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

Layouts have problems with handling NaN and Infinity values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P5 P5
    • 8u60
    • fx2.1
    • javafx
    • 2.1-b14

      I've encountered that list items has wrong layout and exceed ListView width eventually. I spent several hours finding out the cause. Weird layout stuff was caused by NaN and Infinity values set as the min/max size for node.

      See the attached example. When the value is NaN, the item exceeds list width. When the value is infinity, the component seems to be clipped correctly.

      I believe we should have some kind of protection in layout stuff instead of showing these weird things.

            ckyang Chien Yang (Inactive)
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: