Skip to content

Fix: assign a different id to each table cell, avoiding id clashes#4076

Merged
emilk merged 1 commit intomasterfrom
emilk/table-cell-ids
Feb 20, 2024
Merged

Fix: assign a different id to each table cell, avoiding id clashes#4076
emilk merged 1 commit intomasterfrom
emilk/table-cell-ids

Conversation

@emilk
Copy link
Owner

@emilk emilk commented Feb 20, 2024

Each cell in a table now has a Ui with a unique Id based on the row and column.

This avoids Id-clashes, e.g. when putting a CollapsingHeader in a table cell.

@emilk emilk merged commit a33ae64 into master Feb 20, 2024
@emilk emilk deleted the emilk/table-cell-ids branch February 20, 2024 12:35
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
…milk#4076)

Each cell in a table now has a `Ui` with a unique `Id` based on the row
and column.

This avoids Id-clashes, e.g. when putting a `CollapsingHeader` in a
table cell.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant