User avatar
stonstad
Topic Author
Posts: 149
Joined: 06 Jun 2016, 18:14
Location: Lesser Magellanic Cloud
Contact:

Setting Noesis Default Settings

16 Sep 2021, 20:20

In the Noesis About screen (Unity), there is a setting for default font and default resource dictionary. Is there a way to set these two values programmatically so that they are not lost on version upgrades?

Tags:
 
User avatar
jsantos
Site Admin
Posts: 3220
Joined: 20 Jan 2012, 17:18
Contact:

Re: Setting Noesis Default Settings

17 Sep 2021, 11:11

You can manually invoke:
  • Noesis.GUI.SetFontFallbacks
  • Noesis.GUI.SetFontDefaultProperties
  • Noesis.GUI.SetApplicationResources
Although I don't recommend doing that on Unity. We needed to break compatibility in 3.1 but that's something we don't expect to happen again. And if it happens we will try to be backward compatible.
 
User avatar
stonstad
Topic Author
Posts: 149
Joined: 06 Jun 2016, 18:14
Location: Lesser Magellanic Cloud
Contact:

Re: Setting Noesis Default Settings

17 Sep 2021, 15:36

Thank you!

Who is online

Users browsing this forum: Bing [Bot] and 3 guests