Fix failing tst_qquicktextinput::horizontalAlignment_RightToLeft test.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Fri, 6 Jan 2012 05:39:51 +0000 (15:39 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 12 Jan 2012 08:33:32 +0000 (09:33 +0100)
commit21e6e0e6aa72ab6051eaadd5fbda29c795ca8c8e
tree61841d2e58eacda6fea1e4e195a48c9af0818b90
parentf8957414968ab78701b710f35bb25e00dc5cf5af
Fix failing tst_qquicktextinput::horizontalAlignment_RightToLeft test.

How the text is laid out is dependent on the horizontalAlignment so
that needs to be determined before updating the display text and doing
the layout.

Task-number: QTBUG-23485
Change-Id: I1872b1bfc60fd829a0d69c21a19cd3b2b4dc8340
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/quick/items/qquicktextinput.cpp
tests/auto/qtquick2/qquicktextinput/tst_qquicktextinput.cpp