Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-10874

Text overflow cannot be detected properly for qsTrId() with text placeholder

    XMLWordPrintable

Details

    Description

      qsTrId() allows place holders inside with .arg().

      Text {
          text: qsTrId("Text%1").arg("tttttttttttttttttttttttttttttttttttttttt")
          font.pixelSize: 12
          width: 50
      } 

      Here is the translation for the code above:

       

      The result is as follows;

       

      // json report
      {
          "components": [
              {
                  "componentPath": "",
                  "errors": [
                  ]
              }
          ]
      } 

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes