diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-12-23 10:20:47 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-02-14 16:48:14 +0000 |
commit | 57953174549797d1e87543ff7f70571053caf370 (patch) | |
tree | 2f886997ca562563f6f5ec9c11f513c2b43d5d14 /src/3rdparty/freetype/src/pshinter/pshmod.h | |
parent | d99162754f225ca98318e96184e80a57c33fa1ed (diff) |
QFormLayout: honor vertical expanding size policy
QFormLayout did not honor the vertical expanding state for widgets.
Therefore e.g. a QTextEdit was not expanded vertically when it was
inside a QFormLayout but worked fine inside a QGridLayout.
It was honored when a stretch factor was set though.
Fix it by not adding a dummy stretch item when one item is expanding.
[ChangeLog][QtWidgets][QFormLayout] Honor the vertical expanding state
of a widget inside a QFormLayout.
Fixes: QTBUG-72676
Change-Id: If4456145918afa5a10435063770cc93bb9315fbe
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/3rdparty/freetype/src/pshinter/pshmod.h')
0 files changed, 0 insertions, 0 deletions