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

    Details

      Description

      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);

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Imported: