Reply to thread

Hi,

 

I never looked at the UIPluginTemplate before, so I guess it might be outdated. This could explain the issues. I will check this project over this weekend (or @chefkoch, can you take a look?)

 

I think it could be easier to start with a copy of the "Weather" plugin, it has a quite simple structure. Be sure you check the http://wiki.team-mediaportal.com/2_MEDIAPORTAL_2/Contribute/Plugin_Development/New_plugin_checklist.

 

The XAML stuff is a bit more difficult, for me as well: I currently don't know any way to use a graphical designer directly with MP2 skin files and resources. Even if there would be a way to "teach" the editors how to use our MPF-controls (like Screen), they would not work in editor, because MP2 uses different rendering than WPF.

 

I can recommend to use Expression Blend 4 (now available for free, see also https://forum.team-mediaportal.com/threads/skinning-guide-how-to-port-a-skin-to-mp2-or-how-titan-gets-transformed.114860/#post-946300), use it to design your control styles and copy the xaml-code into MP2 resource definitions. Another hint: separate styles from the actual screen layouts, i.e. define a button background gradient only once, use it multiple times.

 

Morpheus


Top Bottom