mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
PopupWindow: added close-policy property (#6614)
* Update api/cpp/include/slint_window.h Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update docs/reference/src/language/builtins/elements.md Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev> * Update internal/core/window.rs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update internal/interpreter/eval.rs Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev> * Update internal/backends/qt/qt_window.rs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update internal/interpreter/dynamic_item_tree.rs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update internal/compiler/passes/materialize_fake_properties.rs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
This commit is contained in:
parent
0bf924cf0d
commit
14c7910d49
33 changed files with 657 additions and 61 deletions
|
@ -21,7 +21,7 @@ export component DatePickerPopup inherits PopupWindow {
|
|||
|
||||
width: 360px;
|
||||
height: 524px;
|
||||
close-on-click: false;
|
||||
close-policy: PopupClosePolicy.no-auto-close;
|
||||
|
||||
background-layer := Rectangle {
|
||||
border-radius: 8px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue