qt5base-lts/tests/auto
Jan Arve Saether cf366e8b86 Made sure items with preferred width of 0 could also stretch
If no stretch factors were specified, we used the preferred size as a
stretch factor. Obviously, that didn't work if the preferred size was
actually 0.

This patch works around this by actually setting the stretch factor to
1.0 if this is the case.
This should work fine in most cases, except for the case where there
are also other items with a preferred size close to 0.
In this case, the item with preferred size 0 will just grow
faster than an item with e.g. preferred size 0.1.

Task-number: QTBUG-31217

Change-Id: I966455da0bdd00308591c7f7cfbc4e134d423e57
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
2013-05-27 12:38:53 +02:00
..
android Fix Qt tests for Android. 2013-04-03 10:15:40 +02:00
bic/data Get rid of this hack where QAccessible inherits from QObject. 2013-04-26 23:27:18 +02:00
cmake Only expect EGL libraries in the cmake files if Qt is configured to use it. 2013-05-07 22:43:14 +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 Fix parsing of long latin strings in the json parser 2013-05-23 22:00:46 +02:00
dbus Fix wildcard signal disconnection in QDBusAbstractInterface 2013-03-19 07:03:25 +01:00
gui Disabled test on WINCE. 2013-05-27 02:45:21 +02:00
guiapplauncher
network Autotest: Use the new test zone in all name-lookup unit tests 2013-05-07 02:53:50 +02:00
opengl Process initial expose events immediately. 2013-05-23 12:49:39 +02:00
other Do not include the treeview header if its hidden 2013-04-25 17:56:26 +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 Cleanup the SQL tests 2013-04-25 19:59:16 +02:00
testlib QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
tools moc: Fix Generator::registerableMetaType 2013-05-20 12:06:48 +02:00
widgets Made sure items with preferred width of 0 could also stretch 2013-05-27 12:38:53 +02:00
xml QtXml tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:48 +01:00
auto.pro Check for printsupport module when building according auto tests 2013-02-19 19:20:58 +01: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