If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

How to use the Skin.HasTheme setting - it's not working?

NewYears1978NewYears1978 Posts: 52Members ✭✭

I am making a theme for a skin and the Skin.HasTheme option appears to not be working at all.

I started simple, I made my .xbt file, the images all load with the theme but I can't make XML changes work. Here is the simple code I tried:

    <control type="image">
            <posx>0</posx>
            <posy>58</posy>
            <width>100</width>
            <height>104</height>
            <texture border="1">side_fade.png</texture>
            <visible>!Skin.HasTheme(WhiteFlat)</visible>
        </control>

The control is showing even when the skin is not loaded. I tried multiple ways of doing this but nothing is working..is this feature not working properly or am I doing something wrong? (I tried using includes with conditions as well but it seems any HasTheme I try is ignored)

Thanks in advance.

(Sorry this is a double post from OpenPHT thread, the Ask button was broken but is now fixed)

Sign In or Register to comment.