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

NodeMenuItem does not influence the size of its parent popup menu

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • fx2.0
    • javafx
    • Windows 7/XP, FX 2.0 Beta (1st release)

      If you create a control that generates a Menu, such as a MenuButton, and only add NodeMenuItem instances to its items list, The resulting popup window is not sized in accordance with the NodeMenuItems. It appears that NodeMenuItems don't influence the size of the popup menu and therefore if only NodeMenuItems are used you get a very small popup menu. Run the attached application to see the problem.

            psomashe Parvathi Somashekar (Inactive)
            kmcintyrejfx Kyle McIntyre (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: