View Issue Details

IDProjectCategoryView StatusLast Update
0002056NoesisGUIUnrealpublic2021-07-27 20:06
Reportermaxnt Assigned Tosfernandez  
Status resolvedResolutionfixed 
Product Version3.0.12 
Target Version3.1Fixed in Version3.1.0 
Summary0002056: Current UI does not react to changes in MergedDictionaries of the Application Resources
DescriptionI’m trying to implement dynamic Application Resource switching in UE4. In C# / WPF removing and inserting a new ResourceDictionary in Application.Current.MergedDirectories to change a theme/style works and takes effect immediately.
The effect is visible dynamically while the application is running.
However, in UE4 when I use the Noesis::GUI framework the effect is only visible once a view is changed/reloaded. Either by switching to a new view or re playing in editor.

Steps To ReproduceInsert an Resource dictionary into the Noesis::ResourceDictionaryCollectionreturned by GetMergedDictionaries with different styles
Notice UI does not update.

Example code:

       Noesis::ResourceDictionary* AppRes = Noesis::GUI::GetApplicationResources();
       if (AppRes)
              Noesis::ResourceDictionary* Res = **some resource**
              if (Res)
                     Noesis::ResourceDictionaryCollection* MergedDirectories = AppRes->GetMergedDictionaries();
                     MergedDirectories->Insert(Index, Res);
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-07-01 16:10 maxnt New Issue
2021-07-01 16:48 sfernandez Assigned To => sfernandez
2021-07-01 16:48 sfernandez Status new => assigned
2021-07-01 16:48 sfernandez Target Version => 3.1
2021-07-09 17:26 sfernandez Status assigned => resolved
2021-07-09 17:26 sfernandez Resolution open => fixed
2021-07-09 17:26 sfernandez Fixed in Version => 3.1
2021-07-27 20:06 jsantos Fixed in Version 3.1 => 3.1.0