Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P3: Somewhat important
-
Resolution: Unresolved
-
Affects Version/s: 5.15.2
-
Fix Version/s: None
-
Component/s: Widgets: Layout
-
Labels:None
-
Platform/s:
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