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

Layout bounds of Region incorrect with unscaled shape

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7u6
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rbair Richard Bair
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: