mirror of
https://github.com/QuasarApp/SimpleQmlNotify.git
synced 2025-04-26 05:34:34 +00:00
fix bacground color of dialogs
This commit is contained in:
parent
eb82ca72e7
commit
bf4a3107f9
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user