2023-10-17 14:12:49 +01:00
|
|
|
diff --git src/OptionsPopup.qml src/OptionsPopup.qml
|
2023-10-16 23:18:59 +02:00
|
|
|
index 568d1cd..9e36607 100644
|
2023-10-17 14:12:49 +01:00
|
|
|
--- src/OptionsPopup.qml
|
|
|
|
+++ src/OptionsPopup.qml
|
2023-10-16 23:18:59 +02:00
|
|
|
@@ -10,13 +10,19 @@ import QtQuick.Controls.Material 2.2
|
|
|
|
import QtQuick.Window 2.15
|
|
|
|
import "qmlcomponents"
|
|
|
|
|
|
|
|
-Window {
|
|
|
|
+Popup {
|
|
|
|
id: popup
|
|
|
|
width: cl.implicitWidth+cl.spacing
|
|
|
|
- minimumWidth: width
|
|
|
|
- maximumWidth: width
|
|
|
|
- minimumHeight: 125
|
|
|
|
- height: Math.min(750, cl.implicitHeight)
|
|
|
|
+ /* Only in embedded version */
|
|
|
|
+ x: (parent.width-width)/2
|
|
|
|
+ y: 10
|
|
|
|
+ height: parent.height-20
|
|
|
|
+ property string title
|
|
|
|
+
|
|
|
|
+ function show() { open() }
|
|
|
|
+ function raise() { }
|
|
|
|
+ /* */
|
|
|
|
+
|
2023-10-18 10:13:52 +01:00
|
|
|
title: qsTr("OS Customization")
|
2023-10-16 23:18:59 +02:00
|
|
|
|
|
|
|
property bool initialized: false
|