qt5base-lts/tests/auto/widgets
Paul Olav Tvete b855e57804 Fix layouts with expanding items with maximum size
Layout items with a Preferred size policy would be treated as fixed
size if they were in the same layout as an Expanding item (or one with
a stretch factor).

This occurred e.g. if a layout was configured similar to this:
1. One item with ExpandFlag/stretch but with a maximumSize set,
   e.g. (100x100).
2. Another item with 'just' GrowFlag, and a maximum size bigger than
   its  size hint.

If the above layout was resized to e.g. (200x50) it would cause the
expanding item to correctly get the size (100x50), but the 'growing'
item would not stretch beyond its size hint.
Instead, it would distribute space around both items, behaving as if
the 'growing' item was fixed'.

The expected behavior is to continue to grow the 'growing' item after
the expanding item has reached its size limit.

Task-number: QTBUG-33104

Change-Id: Ie410653d905f7ca4d702528dafb269f30a0e4f61
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
2013-09-04 15:09:47 +02:00
..
dialogs Revert Mac event loop changes. 2013-09-02 13:07:35 +02:00
effects QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
graphicsview Skip tst_QGraphicsProxyWidget::popup_subwidget on Windows. 2013-09-03 12:48:03 +02:00
itemviews QHeaderView - add maximum section size 2013-09-02 16:26:21 +02:00
kernel Fix layouts with expanding items with maximum size 2013-09-04 15:09:47 +02:00
styles Test password mask delay and characters on Mac. 2013-07-11 10:56:49 +02:00
util Fix QCompleter::activated(QModelIndex) 2013-08-07 18:21:23 +02:00
widgets QButtonGroup - add buttonToggled signals 2013-08-28 12:15:43 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00