Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-3776

Eliding does not work correctly when the Horizontal Alignment is Left or Right

    XMLWordPrintable

Details

    • 3ca369a6ab81151b46898e34c8ddf6c5f429cde3

    Description

      1. Create presentation.
      2. Add a text object.
      3. Set following values:
      Text area to 509x60
      Text string to "qwertyuiopasdfghjklzxcvpoiuytrewq"
      Eliding to "ElideRight"
      4. Set the Horizontal Alignment to Left

      Expected Result:
      "..." will be displayed at the end of the text.

      Actual result:
      "..." is not displayed at the end of the text.

      Attachments

        1. TextElideTest.zip
          36 kB
        2. TestPresentation.zip
          35 kB
        3. screenshot.png
          screenshot.png
          127 kB
        4. align_and_wrapping_before_patch.png
          align_and_wrapping_before_patch.png
          44 kB
        5. align_and_wrapping_after_patch.png
          align_and_wrapping_after_patch.png
          46 kB
        6. 4_elide_after_patch_widthandheight.png
          4_elide_after_patch_widthandheight.png
          34 kB
        7. 3_elide_after_patch_width.png
          3_elide_after_patch_width.png
          34 kB
        8. 2_elide_before_patch.png
          2_elide_before_patch.png
          36 kB
        9. 1_elide_no_distance_field.png
          1_elide_no_distance_field.png
          45 kB

        Issue Links

          For Gerrit Dashboard: QT3DS-3776
          # Subject Branch Project Status CR V

          Activity

            People

              kagro Kaj Grönholm
              sergeytyuntyaev Sergey Tyuntyaev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes