fix bacground color of dialogs

This commit is contained in:
Andrei Yankovich 2021-11-29 13:07:49 +03:00
parent eb82ca72e7
commit bf4a3107f9

View File

@ -41,13 +41,18 @@ BasePopUp {
margin: 0
spacing: 0
backgroundColor: Material.background
backgroundColor: Qt.rgba(Material.background.r * 0.9, Material.background.g * 0.9, Material.background.b * 0.9, Material.background.a)
header: Pane {
RowLayout {
width: popup.width
Item {
Layout.preferredWidth: 10
}
Label {
text: title
wrapMode: Text.WordWrap
@ -58,11 +63,15 @@ BasePopUp {
ToolButton {
text: "X"
onClicked: {
close();
}
}
Item {
Layout.preferredWidth: 10
}
}
}