focus and transition
This commit is contained in:
parent
f1e15b427c
commit
2f575bc541
1 changed files with 16 additions and 0 deletions
|
|
@ -8,5 +8,21 @@ Menu {
|
|||
palette.window: Theme.palette.base100
|
||||
palette.base: Theme.palette.base100
|
||||
|
||||
focus: true
|
||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
|
||||
|
||||
enter: Transition {
|
||||
NumberAnimation {
|
||||
property: "opacity"
|
||||
from: 0.0
|
||||
to: 1.0
|
||||
}
|
||||
}
|
||||
exit: Transition {
|
||||
NumberAnimation {
|
||||
property: "opacity"
|
||||
from: 1.0
|
||||
to: 0.0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue