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

NodeMenuItem does not influence the size of its parent popup menu

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows 7/XP, FX 2.0 Beta (1st release)

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: