aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktext/data/qtbug_106205.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquicktext/data/qtbug_106205.qml')
-rw-r--r--tests/auto/quick/qquicktext/data/qtbug_106205.qml28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktext/data/qtbug_106205.qml b/tests/auto/quick/qquicktext/data/qtbug_106205.qml
new file mode 100644
index 0000000000..e4db73557a
--- /dev/null
+++ b/tests/auto/quick/qquicktext/data/qtbug_106205.qml
@@ -0,0 +1,28 @@
+import QtQuick
+import QtQuick.Controls
+
+Item {
+ id: root
+ objectName: "root"
+ visible: true
+
+ anchors.fill: parent
+ property string text: ""
+
+ ScrollView {
+ anchors.fill: parent
+ Rectangle {
+ x: 100
+ width: 100
+ height: 30
+ color: "lightgray"
+
+ Text {
+ objectName: "textOutsideViewport"
+ text: root.text
+ width: 50
+ clip: true
+ }
+ }
+ }
+}