projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qmlvisual
/
qdeclarativetext
/
maximumLineCount
/
newLines_wrap.qml
1
import QtQuick 1.0
2
import "../../shared" 1.0
3
4
Rectangle {
5
width: childrenRect.width
6
height: childrenRect.height
7
8
TestText {
9
width: 80
10
maximumLineCount: 3
11
wrapMode: Text.WordWrap
12
text: "Line1 has a more\nLine2\nLine3\nLine4"
13
}
14
}