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

b21 - Text gets distorted after translation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • fx1.3
    • fx1.3
    • javafx
    • b21 SDK
      Run on windows using: javafx -Xtoolkit prism
      Run on TV emulator using: javafx -profile tv

    Description

      See attached screen shot of FishSim app.
      Right side is result when compiled as-is.
      Left side has translateX removed from the following code:

      var textOverlay:Text = Text {
              fill: Color.WHITE font: Font { size: 16 }
          content: "Click to create ripples"
          y: 70
      // translateX: bind (width-textOverlay.boundsInLocal.width)/2
          opacity: 1.0
          visible: true;
          };

      Attachments

        Activity

          People

            prr Philip Race
            sharimot Sandra Harimoto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: