Skip to content

GridLayout: support for nested repeaters#10885

Open
dfaure-kdab wants to merge 3 commits intoslint-ui:masterfrom
dfaure-kdab:wip/dfaure/gridlayout-nested-repeaters-v2
Open

GridLayout: support for nested repeaters#10885
dfaure-kdab wants to merge 3 commits intoslint-ui:masterfrom
dfaure-kdab:wip/dfaure/gridlayout-nested-repeaters-v2

Conversation

@dfaure-kdab
Copy link
Collaborator

This uses the new cache format introduced by a recent commit for this purpose.

In this commit, it is assumed that all nested repeaters produce the same number of items. This is very temporary, a followup commit will handle that case properly.

Fixes #10670

@dfaure-kdab dfaure-kdab force-pushed the wip/dfaure/gridlayout-nested-repeaters-v2 branch from b409844 to f184a1d Compare February 27, 2026 11:59
@dfaure-kdab dfaure-kdab requested a review from ogoffart March 2, 2026 11:09
This uses the new cache format introduced by a recent commit for this
purpose.

In this commit, it is assumed that all nested repeaters produce
the same number of items. This is very temporary, a followup commit
will handle that case properly.

Fixes slint-ui#10670
Visually, it looks exactly like grid-with-repeated-rows.slint
but the model is an array of arrays instead of being an array of
structs.
@dfaure-kdab dfaure-kdab force-pushed the wip/dfaure/gridlayout-nested-repeaters-v2 branch from f184a1d to 72879b3 Compare March 2, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GridLayout with nested for

1 participant