You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
This issue only relates to a single bug. I will open new issues for any other problems.
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.
Note that refreshing the theme override container instead of the child container where the button was added works. This is a bit confusing and we should document it, but not release blocking IMO
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: