Forum Discussion

zarko_popovski's avatar
12 years ago

Runtime theme changes?

Hi Roku friends,

Is it possible to change some theme parameter in runtime?
What i mean, some properties for GridScreen description bubble are the beginning when the application is initializing but depending on some media types and reusing existing grid screen i want to change grid screen description bubble size and position in runtime?
One solution and i think not very good solution would be to create one object that will keep instance of roAppManager and also will keep associative array with theme properties and that object i would set as global so it will available from every active screen. Is that ok or i should reconsider different approach?

Thanks

1 Reply

  • Yes, you can change theme attributes at any time.

    It's important to remember that theme attributes only apply to screens you create after those attributes are set. Screens that are already open will not update to reflect theme changes.