diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2018-11-19 09:20:16 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-11-20 17:37:47 +0000 |
commit | 63ada5fa00ba37e0fbfcd7b70dcbd99580dd7c4f (patch) | |
tree | c5a1265ca20c5284a4b815cd5f5b4ad0fc5dedf7 /tests/auto/quick/qquicktext/data | |
parent | 9a7c5a925c4d62f4fe23d31b1f8636d415b6307c (diff) |
QQuickText: Signal content height/width changes also when resetting
If we change the content height or content width to the initial one, we
still need to signal the change.
Fixes: QTBUG-71684
Change-Id: Idf6e3f89423eab3d8f5310c164c5acc5108e0d8b
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'tests/auto/quick/qquicktext/data')
-rw-r--r-- | tests/auto/quick/qquicktext/data/contentHeight.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktext/data/contentHeight.qml b/tests/auto/quick/qquicktext/data/contentHeight.qml new file mode 100644 index 0000000000..472e97078e --- /dev/null +++ b/tests/auto/quick/qquicktext/data/contentHeight.qml @@ -0,0 +1,7 @@ +import QtQuick 2.9 + +Text{ + width: 200 + height: contentHeight + text: '' +} |