summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qml/DemoInfoPopup.qml2
-rw-r--r--qml/MainWindow.qml4
2 files changed, 4 insertions, 2 deletions
diff --git a/qml/DemoInfoPopup.qml b/qml/DemoInfoPopup.qml
index 11bc826..c850221 100644
--- a/qml/DemoInfoPopup.qml
+++ b/qml/DemoInfoPopup.qml
@@ -31,8 +31,6 @@ import QtQuick.Controls 2.2
Rectangle {
id: demoInfoPopup
- width: parent.width
- height: parent.height
color: viewSettings.backgroundColor
opacity: 0.9
diff --git a/qml/MainWindow.qml b/qml/MainWindow.qml
index 2fb898d..060b9b5 100644
--- a/qml/MainWindow.qml
+++ b/qml/MainWindow.qml
@@ -33,6 +33,7 @@ import QtDeviceUtilities.SettingsUI 1.0
import com.qtcompany.B2QtLauncher 1.0
Item {
+ id: mainWindow
anchors.fill: parent
Component {
id: emptyComponent
@@ -215,6 +216,9 @@ Item {
DemoInfoPopup {
id: demoInfoPopup
visible: false
+ height: mainWindow.height
+ width: mainWindow.width
+ z: demoHeader.z + 1
}
/* Handwriting input panel for full screen handwriting input.