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

QFormLayout breaks labels without any need

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2
    • Widgets: Layout
    • None
    • All

    Description

      When a QFormLayout is set to 'QFormLayout::WrapAllRows' and there are labels with lineBreak enabled then the labels are wrapped without any need. Looks like WrapAllRows is applied after the widget size calculation. A testcase is attached.

      Original report from forum: https://forum.qt.io/topic/121988/qlabel-does-not-extend-to-full-width-of-qformlayout-when-wrapped

      Attachments

        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
            chehrlic Christian Ehrlicher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes