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

b21 - Text gets distorted after translation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: fx1.3
    • Fix Version/s: fx1.3
    • Component/s: javafx
    • Labels:
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: