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

[TextField, PasswordField, TextArea] Setting CSS font size affects the font size of the ContextMenu.

    XMLWordPrintable

    Details

      Description

      Set CSS font (using -fx-font-size) for TextField, PasswordField or TextArea, when right click mouse to open the ContextMenu, the font size of ContextMenu is also affected.
      Test program is attached.

      If use setFont() method, the font size of the ContextMenu is not affected, but the line space is changed.

        Attachments

          Activity

            People

            Assignee:
            dgrieve David Grieve
            Reporter:
            jennyh Jenny Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: