Page 1 of 1

Themes not working with VLWeb pages

Posted: Wed Jun 08, 2016 1:17 am
by dhnaigles
I have set a default theme for my VLWeb project. The theme uses a particular color scheme. When I set elements of the web page to their appropriate ThemeDrawStyle, they change (both brushes and fonts) in the editor. but when I go to run the web pages, the fonts are set correctly, but the colors remain a default gray. I have checked in the Theme as well as all the reusable parts and web pages. What am i doing wrong?

Re: Themes not working with VLWeb pages

Posted: Wed Jun 08, 2016 9:29 am
by Stewart Marshall
I can see that you've set up the editor to use the Theme, but this only allows the editor show everything with that Theme. This feature exists so that reusable parts can appear correctly at design time.

For runtime, you still need to apply the Theme to the WebPage, and of course, you need to make sure the Theme is compiled.