Objects added to a container that is part of a theme override don't get the overridden theme #4982
Open
2 tasks done
Labels
bug
Something isn't working
Milestone
Checklist
Describe the bug
Objects that are added to containers that are part of a theme override after it has already been set up do not get the overridden theme. Including after refreshing the parent container.
How to reproduce
Run the example code and hit the "add child" button which puts a new button into the container. It has the app theme, not the overridden one. Hit the refresh button to refresh the whole window content. The added button(s) still have the app theme rather than the overridden one.
Expected behavior - container.Add should automatically ensure the contents have the correct theme. So should container.Refresh in the case of manually manipulating container.Objects.
Screenshots
No response
Example code
Fyne version
develop
Go compiler version
n/a
Operating system and version
all
Additional Information
No response
The text was updated successfully, but these errors were encountered: