summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-11-04 08:01:36 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-11-04 08:01:36 (GMT)
commitd5ed9ed21b67b6e5e884e7c87fabc096b8c677a2 (patch)
treed1618ef434f005a9f9e30c941257b96b7ea6a4a7 /tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml
parent032bea71a17e6c79346b2df926a5755a22a3d95b (diff)
downloadQt-d5ed9ed21b67b6e5e884e7c87fabc096b8c677a2.zip
Qt-d5ed9ed21b67b6e5e884e7c87fabc096b8c677a2.tar.gz
Qt-d5ed9ed21b67b6e5e884e7c87fabc096b8c677a2.tar.bz2
Make qmlvisual tests more stable
Text elements now use shared components that have the same default values, instead of using the system defaults (that can vary between computers). This also removes text edit/input cursor blinking. Task-number: QTBUG-14792
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml')
-rw-r--r--tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml b/tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml
index f03e1cc..bf5e7a0 100644
--- a/tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml
+++ b/tests/auto/declarative/qmlvisual/qdeclarativetextedit/usingMultilineEdit.qml
@@ -3,12 +3,12 @@ import QtQuick 1.0
Rectangle{
width: 280
height: 140
- Column{
- MultilineEdit{
+ Column {
+ MultilineEdit {
text: 'I am the very model of a modern major general. I\'ve information vegetable, animal and mineral. I know the kings of england and I quote the fights historical - from Marathon to Waterloo in order categorical.';
width: 182; height: 60;
}
- Rectangle{height: 20; width: 20;}//Spacer
- MultilineEdit{text: 'Hello world'}
+ Rectangle {height: 20; width: 20;}//Spacer
+ MultilineEdit {text: 'Hello world'}
}
}