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

Underscores do not display properly in MenuButton and SplitMenuButton

    Details

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

      FX 2.0 GA Windows 7

      Description

      Similar to RT-16955, underscores don't display correctly in MenuButtons or SplitMenuButtons (I didn't try Buttons). The problem can be seen in both the button text, and the menu items of the buttons. If there's more than one underscore present, things work fine. Depending on the font, I've seen it overlap the underscore character with the character in front of it (this happened with Tahoma).

      See attached sample app.

      If there's any hack/workaround that I can put in my application to get this working for 2.0, that would be great.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                miflemi Mick Fleming (Inactive)
                Reporter:
                kmcintyrejfx Kyle McIntyre (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: