Theme Switch widget in Mx5

Hi, In Mendix 4 i used to be able to include a theme switch widget in the index page using the following code: <div dojoType="mendix.widget.ThemeSwitch" themes="Custom;Dutch;Dark;Default;Nostalgia" label="Pick your theme:"></div> I have tried to put the same code into my Mendix 5 but this doesn't seem to work. Does this widget still exist in Mendix 5 or do i need to change something to get it to work. Thanks
1 answers

Using LAYOUT feature will allow you to do this. Configure various layouts for the "themes" you want to use and play it from there. The one thing this did resolve for me what eg. switching logo and colors for various parts of a clients company