2016-07-28, 12:35
(2016-07-28, 12:05)paradix Wrote: I was just wondering if there is any way to identify in the skin that the DialogSelect.xml was called from within the script.
This would be useful if for example I would like to implement a different layout for the view selector?
Anyone had a try on this?
Just create a window property before you run the script.
DialogSelect.xml example:
Code:
<controls>
<include condition="String.IsEmpty(Window(home).Property(SetUserRating))">IncludeDialogSelectDefault</include>
<include condition="String.IsEqual(Window(home).Property(SetUserRating),music)" content="IncludeDialogSelectSpecial">
<param name="DialogWidth">770</param>
<param name="LabelWidth">812</param>
<param name="IconWidth">292</param>
</include>
<include condition="String.IsEqual(Window(home).Property(SetUserRating),video)" content="IncludeDialogSelectSpecial">
<param name="DialogWidth">673</param>
<param name="LabelWidth">715</param>
<param name="IconWidth">195</param>
</include>
</controls>