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

layoutBounds reports incorrect values for Group nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • fx1.2
    • fx1.0
    • javafx

      The layoutBounds variable on Node describes the geometric bounds of a node with respect to layout within its parent.
      For Group and CustomNode nodes, layoutBounds should be the union of the layoutBounds+translateX,translateY values
      on visible children, however currently it's the union of boundsInParent for all children, which breaks layout with nested
      groups/containers. This is particularly visible if transitions or effects are applied to nodes outside their layout bounds.

            ckyang Chien Yang (Inactive)
            amfowler Anne Fowler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: