feat(StatusDialog): Add DIalog Background componentto make the dialog background customizable (#809)
This commit is contained in:
parent
dbc0c1960a
commit
f4bf830ae7
|
@ -22,10 +22,7 @@ Dialog {
|
|||
color: Theme.palette.backdropColor
|
||||
}
|
||||
|
||||
background: Rectangle {
|
||||
color: Theme.palette.statusModal.backgroundColor
|
||||
radius: 8
|
||||
}
|
||||
background: StatusDialogBackground {}
|
||||
|
||||
header: StatusDialogHeader {
|
||||
visible: root.title
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
import QtQuick 2.14
|
||||
import StatusQ.Core.Theme 0.1
|
||||
|
||||
Rectangle {
|
||||
color: Theme.palette.statusModal.backgroundColor
|
||||
radius: 8
|
||||
}
|
|
@ -6,3 +6,4 @@ StatusDialogFooter 0.1 StatusDialogFooter.qml
|
|||
StatusDialogHeader 0.1 StatusDialogHeader.qml
|
||||
StatusHeaderActions 0.1 StatusHeaderActions.qml
|
||||
StatusTitleSubtitle 0.1 StatusTitleSubtitle.qml
|
||||
StatusDialogBackground 0.1 StatusDialogBackground.qml
|
||||
|
|
Loading…
Reference in New Issue