Add wrapMode and verticalAlignment properties to TextInput.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Thu, 15 Dec 2011 01:36:54 +0000 (11:36 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 20 Dec 2011 06:33:37 +0000 (07:33 +0100)
commit59e607a2ce1e1fbb5324040c26554ecc22d8b1fd
treee559c0f40407bd6a2ef0b50530bafa75e09abbdb
parentac50bb1b85ccd3e08053e1284be50847d32688dc
Add wrapMode and verticalAlignment properties to TextInput.

Wrap mode provides an alternative to horizontal scrolling when the width
of the text exceeds the width of the TextInput. With auto scroll
wrapping introdoces an implicit verticalAlignment so support setting it
explicitly as well.

Task-number: QTBUG-22305
Task-number: QTBUG-16203
Change-Id: I1bd3a5335edb3ac48df3d5ccd8ae7274caa91883
Reviewed-by: Martin Jones <martin.jones@nokia.com>
doc/src/declarative/whatsnew.qdoc
src/quick/items/qquicktextinput.cpp
src/quick/items/qquicktextinput_p.h
src/quick/items/qquicktextinput_p_p.h
tests/auto/qtquick2/qquicktextinput/data/horizontalAlignment.qml
tests/auto/qtquick2/qquicktextinput/data/positionAt.qml
tests/auto/qtquick2/qquicktextinput/tst_qquicktextinput.cpp
tests/testapplications/text/textinput.qml