Skip to content

GridLayout with nested for #10670

@tronical

Description

@tronical

Update: GridLayout with nested for doesn't work.

Old Description

The example code below causes the compiler to panic:

thread 'main' (102464197) panicked at internal/compiler/passes/move_declarations.rs:48:13:
Repeated element should be empty because of the repeater_component.rs pass

Reproducible Code (if applicable)

export component Demo {
    GridLayout {
        for x in 10: Row {
            for y in 10: Text {
                text: y;
            }
        }
    }
}

Environment Details

  • Slint Version: 1.15

Metadata

Metadata

Assignees

Labels

a:layoutsRelated to the layouting and positioning of the elements (mO,bT)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions