diff options
Diffstat (limited to 'tests/manual/quickcontrols/qquickdialog/DialogLabel.qml')
-rw-r--r-- | tests/manual/quickcontrols/qquickdialog/DialogLabel.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/manual/quickcontrols/qquickdialog/DialogLabel.qml b/tests/manual/quickcontrols/qquickdialog/DialogLabel.qml new file mode 100644 index 0000000000..273eaf162d --- /dev/null +++ b/tests/manual/quickcontrols/qquickdialog/DialogLabel.qml @@ -0,0 +1,13 @@ +// Copyright (C) 2019 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +import QtQuick.Controls + +Label { + x: dialog.x + (dialog.width - width) / 2 + y: dialog.y - height + width: dialog.width + wrapMode: Label.Wrap + + property Dialog dialog +} |