aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols/qquickpopup/data/applicationwindow-hover.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quickcontrols/qquickpopup/data/applicationwindow-hover.qml')
-rw-r--r--tests/auto/quickcontrols/qquickpopup/data/applicationwindow-hover.qml18
1 files changed, 10 insertions, 8 deletions
diff --git a/tests/auto/quickcontrols/qquickpopup/data/applicationwindow-hover.qml b/tests/auto/quickcontrols/qquickpopup/data/applicationwindow-hover.qml
index d4c8b78355..f1acf42d2a 100644
--- a/tests/auto/quickcontrols/qquickpopup/data/applicationwindow-hover.qml
+++ b/tests/auto/quickcontrols/qquickpopup/data/applicationwindow-hover.qml
@@ -1,5 +1,5 @@
// Copyright (C) 2017 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick
import QtQuick.Controls
@@ -15,22 +15,24 @@ ApplicationWindow {
Button {
id: parentButton
text: "Parent"
+ palette.buttonText: hovered ? "tomato" : "black"
anchors.fill: parent
+ anchors.margins: 10
Popup {
id: popup
- x: 1
- y: 1
- leftPadding: 1
- rightPadding: 1
- topPadding: 1
- bottomPadding: 1
-
+ x: 10
+ y: 10
+ leftPadding: 10
+ rightPadding: 10
+ topPadding: 10
+ bottomPadding: 10
Button {
anchors.centerIn: parent
id: childButton
text: "Child"
+ palette.buttonText: hovered ? "tomato" : "black"
}
}
}