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

Make maximum Menu height a little smaller

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8
    • javafx

      The maximum height of a Menu (i.e. before the scroll arrows appear on the menu, due to too many MenuItems) is currently set to be the full height of the screen. This can look a little bit too huge, especially if your app doesn't have a Stage that's anywhere near that tall.

      This edge case would look a little nicer if there was a smaller maximum height for Menus (half screen height?), or even if there was a property where the maximum height for a Menu could be directly specified.

      For that matter, it would also be helpful if you could specific a maximum width for a MenuItem, too, since sometimes you don't have 100% control over the text that gets put into a MenuItem. It would be cool if it just truncated long text with an ellipsis like a Label does.

            Unassigned Unassigned
            cbanackjfx Cory Banack (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Imported: