mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 12:54:45 +00:00
![]() This changes the component containers away from using a "MAGIC" index in the placeholder dynamic item tree node it creates. These are hard to integrate across sub-components. Use index numbers right after the index numbers used by repeaters and "extend" the repeater offset by the number of component containers in the sub-component. This way we can piggy-back on the forwarding of repeaters. This has one annoying side-effect: We do have indices in our item tree that are out of range for a repeater. But I think that is acceptable considering that we never materialize that array anyway. |
||
---|---|---|
.. | ||
cpp.rs | ||
rust.rs |