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
|
@ -674,6 +674,7 @@ impl<'a, T> TypeResolutionContext for EvaluationContext<'a, T> {
|
|||
for i in sub_component_path {
|
||||
sub_component = &sub_component.sub_components[*i].ty;
|
||||
}
|
||||
|
||||
sub_component.items[*item_index as usize].ty.lookup_property(prop_name).unwrap()
|
||||
}
|
||||
PropertyReference::InParent { level, parent_reference } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue