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

Modification needed for BorderPane D&D in Content Panel

XMLWordPrintable

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

      I have been playing with the BorderPane D&D in 2.0 and I would like to suggest some tweaks to the interaction with BP in the content panel.

      Open the attached BorderPane-mod.fxml
      Drag a Button from the Library and try to drop it on the BP in the Content Panel.
      The only available ‘zone’ for the drop is the RIGHT zone of the BP. However, the graphic showing the drop zones does not appear unless you drag the mouse over the available zone. This feels a little buggy as the BP doesn’t help you until you discover the ‘invisible’ empty zone.

      Suggested modification 1:
      I think it would be better to show the drop zone graphic as soon as the mouse enters the BP. This also applies when moving an existing child of the BP from one zone to another.

      Suggested modification 2:
      Perhaps we could modify the drop zone graphic to better indicate the available zones? Perhaps by removing the respective ‘TOP, LEFT…etc’ labels if they are unavailable?

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

              Created:
              Updated:
              Resolved:
              Imported: