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

Cursor.cursor does not accept cursor names with hyphens

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P5
    • 8
    • 7u25
    • javafx
    • None

    Description

      The style

        -fx-cursor: h-resize;

      does not work as documented in http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html. Instead this is required:

        -fx-cursor: h_resize;

      Apparently there is a direct translation of the corresponding Cursor.* constants which use underscores for several cursors.

      Attachments

        Activity

          People

            dgrieve David Grieve
            wlehmann Werner Lehmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: