Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-9142

LiveView: Newline character is displayed when using liveview

    Details

    • Story Points:
      3
    • Sprint:
      2018 Sprint 21 Studio

      Description

      Community credit to Christian Moss for locating the problem

      On both iOS and Android, when running an app with liveview translations with a newline character are displayed.

      When running without liveview the newline is displayed, and the newline character is hidden. See attached screenshots for iOS and Android

      strings.xml

      <string name="Test">Test\nTest</string>
      

      index.xml

      <Label id="myLabel"></Label>
      

      index.tss:

      "#myLabel": {
        color: "#000000",
        text: L("Test")
      }
      

      Problem occurs also in xml:

      <Label>L("Test")</Label>
      

      Problem doesn't occur when using the textid property.

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              topener Rene Pot
              Reviewer:
              Feon Sua Xin Miao
            • Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: