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

Embedding an image by a placeholder gets ignored by the over flow check

    XMLWordPrintable

Details

    Description

      The attached project has Screen02.ui.qml.

      Inside, we have this line:

       

      Text {
          // embedding image
          font.pixelSize: 20
          width: 10
          text: qsTrId("HHHHHH%1HHHHHHH").arg("<img src='icon.png'/>")
      }

      The translation of it looks like this:

       

      Running the overflow check resulted in this. It didn't show the boundary line. (green, yellow or red was supposed to be shown)

       

       

      json rport:

      Attachments

        1. image-2023-10-05-20-07-44-742.png
          32 kB
          Mikio Hirai
        2. image-2023-10-05-20-09-16-751.png
          14 kB
          Mikio Hirai
        3. image-2023-10-05-20-10-56-937.png
          34 kB
          Mikio Hirai
        4. image-2023-10-05-20-11-07-803.png
          34 kB
          Mikio Hirai
        5. Translation_Overflow.zip
          238 kB
          Mikio Hirai
        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