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

Text eliding doesn't work with distance field rendering disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt 3D Studio 2.8
    • Qt 3D Studio 2.7
    • OpenGL Runtime
    • None

      To show the problem, example project was created (could be found in attachments).

      This project just shows connected Qt 3D Studio presentation.
      This presentation contains text label only.
      This text label has fixed width, contains a long text string. Eliding set as ElideRight

      Test 1 precondition:
      Line 11 in main.cpp (qputenv("Q3DS_DISTANCE_FIELD_DISABLED", "1") is commented.

      Test 1:
      1. Build and run project(Release)

      Expected result: Text label is displayed in window. Text string is elided.
      Actual result: As expected. (screenshot in attachments)

      Test 2 precondition:
      Line 11 in main.cpp (qputenv("Q3DS_DISTANCE_FIELD_DISABLED", "1") is uncommented.

      Test 2:
      1. Build and run project(Release)

      Expected result: Text label is displayed in window. Text string is elided.
      Actual result: Text label is displayed in window. Text string is not elided. (screenshot in attachments)

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

            esabraha Eskil Abrahamsen Blomfeldt
            mbulanov Mikhail Bulanov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes