From 59e607a2ce1e1fbb5324040c26554ecc22d8b1fd Mon Sep 17 00:00:00 2001 From: Andrew den Exter Date: Thu, 15 Dec 2011 11:36:54 +1000 Subject: 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 --- tests/testapplications/text/textinput.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/testapplications') diff --git a/tests/testapplications/text/textinput.qml b/tests/testapplications/text/textinput.qml index 98f2628372..271466d59a 100644 --- a/tests/testapplications/text/textinput.qml +++ b/tests/testapplications/text/textinput.qml @@ -73,6 +73,8 @@ Rectangle { font.pointSize: { pointvalue.model.get(pointvalue.currentIndex).value } font.pixelSize: { pixelvalue.model.get(pixelvalue.currentIndex).value } horizontalAlignment: { halignvalue.model.get(halignvalue.currentIndex).value } + verticalAlignment: { valignvalue.model.get(valignvalue.currentIndex).value } + wrapMode: { wrapvalue.model.get(wrapvalue.currentIndex).value } smooth: { smoothvalue.model.get(smoothvalue.currentIndex).value } selectByMouse: { mousevalue.model.get(mousevalue.currentIndex).value } echoMode: { echovalue.model.get(echovalue.currentIndex).value } -- cgit v1.2.3