qt5base-lts/tests/auto
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
..
android Fix clean-up code in Android autotest script 2013-08-05 14:53:18 +02:00
bic/data test: Add 5.1.0 bic data for linux-gcc-ia32 2013-07-08 21:47:36 +02:00
cmake CMake: Allow specifying a TARGET in invocations of macros. 2013-08-21 16:39:55 +02:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent QtConcurrent tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:25 +01:00
corelib QDateTime - Add api for Time Zone Abbreviation 2013-09-03 14:31:06 +02:00
dbus Merge remote-tracking branch 'origin/stable' into dev 2013-08-27 22:51:09 +02:00
gui QPluginLoader: add 'staticPlugins' function 2013-09-04 09:38:35 +02:00
guiapplauncher
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
opengl Fixed tst_qgl for fullscreen platforms 2013-08-07 09:01:36 +02:00
other Merge remote-tracking branch 'origin/stable' into dev 2013-08-14 09:06:31 +02:00
printsupport QPrintPreviewDialog: Prevent changing of page in resize handling. 2013-05-23 09:31:27 +02:00
shared Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
sql Remove Nokia-domains in commented-out test code. 2013-07-12 12:41:30 +02:00
testlib Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
tools Merge remote-tracking branch 'origin/stable' into dev 2013-08-27 22:51:09 +02:00
widgets Fix layouts with expanding items with maximum size 2013-09-04 15:09:47 +02:00
xml tests: Make the QT assignments more explicit 2013-08-21 19:05:52 +02:00
auto.pro Make the CMake tests run sequentially, not in parallel. 2013-07-08 14:48:03 +02:00
network-settings.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00