import QtQuick import QtQuick.Effects import QtQuick.Controls import QtQuick.Controls.Material Popup { id: request_response_popup property color accent_color: "#00000000" property int font_enlarged_text_size: 20 property int font_normal_text_size: 16 property string request_response_string: "" background: Rectangle { color: "#F0121212" radius: 5 border.color: request_response_popup.accent_color border.width: 1 } height: Math.max(parent.height / 1.6, contentHeight) width: parent.width / 1.2 anchors.centerIn: Overlay.overlay ScrollView { id: view anchors.fill: parent TextArea { text: request_response_string font.pointSize: font_normal_text_size color: request_response_popup.accent_color } } }