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

Changing padding for MenuItem will make ContextMenu show up in the wrong place when using Side.TOP

XMLWordPrintable

      For instance

      .context-menu .menu-item {
          -fx-padding: 0 0 0 0;
      }

      will make the ContextMenu show as if the padding was the default.

      Code to invoke:

      new ContextMenu(...).show((Node) e.getSource(), Side.TOP, 0, 0);

            Unassigned Unassigned
            mgrev Mikael Grev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Imported: