Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33097

Text with wrap enabled has incorrect size on text change if placed into Layout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.1.0
    • None
    • Windows 7, x86, msvc2010, ANGLE

    Description

      Placing Text element into RowLayout and enabling wrap results in a incorrect resulting height when text changed. This only happens when no size constraints specified; if I add this code to the rectangle

      width: 30
      

      element resized properly.

      Attachments

        1. LayoutTextWrap.qml
          0.9 kB
        2. LayoutTextWrap2.qml
          0.8 kB
        3. Text_Initialized.png
          Text_Initialized.png
          7 kB
        4. Text.png
          Text.png
          13 kB
        5. Text Text.png
          Text Text.png
          12 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            krnekit Nikita Krupenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes