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

Multiple Selection, resizing and reparenting

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • None

      JavaFX has a complex range of layout properties making the simultaneous resizing of multiple nodes complex. For the same reason, simultaneously re-parenting of nodes from different parents is also complex.

      For SB 2.0 I propose we improve the visual communication of these limitations whilst gaining the ability to set properties on a multiple selection where the selected nodes have different parents.

      Scenario:

      1. User selects Button1 inside AP1. As expected the selection box and handles are shown.

      2. User CMD clicks on Button2 inside AP1. Selection boxes are now drawn on both buttons but the handles are disabled (dimmed). This is to communicate that it is not possible to perform a multiple resize operation.

      3. User CMD clicks on Label1 inside AP2. We now draw selection boxes with disabled handles around all three selected objects even though they are not all siblings. However, the parent ring (isolation scope) is moved to the closest shared ancestor and the hand cursor is not shown when mouse hover over any of the selected items. This communicates that we can not perform a multiple move or reparenting operation. The Inspector shows the common properties for all the selected objects. The Hand cursor is also not shown in the hierarchy (move/reparenting is not allowed there either at this point).

            eleponn Eric Le Ponner
            mchicharro Moises Chicharro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: