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

Layout bounds of Region incorrect with unscaled shape

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 7u6
    • javafx
    • None

      When a Region has a Shape, and scaleShape is false, then we should be including the shape bounds in the layout bounds (pref width, pref height) of the Region. If that were the case, then we could amend NGRegion so that it does not render any region who's width / height <= 0, whereas for now we must allow regions with shapes where the region 0 width / height to render anyway.

            Unassigned Unassigned
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: