b21 - Text gets distorted after translation

XMLWordPrintable

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

      b21 SDK
      Run on windows using: javafx -Xtoolkit prism
      Run on TV emulator using: javafx -profile tv

      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;
          };

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

              Created:
              Updated:
              Resolved:
              Imported: