Skip to content

Commit

Permalink
Add wrapMode and verticalAlignment properties to TextInput.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew den Exter authored and Qt by Nokia committed Dec 20, 2011
1 parent ac50bb1 commit 59e607a
Show file tree
Hide file tree
Showing 8 changed files with 489 additions and 177 deletions.
3 changes: 3 additions & 0 deletions doc/src/declarative/whatsnew.qdoc
Expand Up @@ -127,6 +127,9 @@ Text improvements:
TextEdit:
- the default value of the textFormat property is now PlainText instead of AutoText.

TextInput has new wrapMode and verticalAlignment properties, and the positionAt function now takes
a y parameter.

PathView now has a \c currentItem property

ListView and GridView:
Expand Down

0 comments on commit 59e607a

Please sign in to comment.