v18 Panel only shows info for focused item
#1
Hello all,

I apologize if this is a noob question, but I have been trying to figure this out for hours without any luck, and could not find anything in the skinning manual to shed some light on this.

I am trying to skin the script.tv.show.net.aired addon for the Amber skin which I am migrating to Leia.  I got as far as this (sorry I am still not up on attaghing imgur albums)

https://1drv.ms/u/s!AlII29kkG6TFiMJhQP2kwlagIr6jCw

If you look at the image, the first item in the panel on the right, the focused item, shows info, but the other two items do not show any info.  I have not been able to figure out why this is.

My panel code is this:

Code:

    <include name="TVNextAiredPanelLayout">
        <left>500</left>
        <top>120</top>
        <width>1341</width>
        <height>910</height>
        <onup>60</onup>
        <ondown>60</ondown>
        <onleft>9000</onleft>
        <orientation>horizontal</orientation>
        <scrolltime tween="quadratic">300</scrolltime>
        <pagecontrol>60</pagecontrol>        
        <itemlayout height="840" width="447">
            <control type="image">
                <left>15</left>
                <top>20</top>
                <width>420</width>
                <height>237</height>
                <aspectratio aligny="top">keep</aspectratio>
                <texture background="true">$INFO[ListItem.Property(Art(fanart))]</texture>
            </control>
            <control type="textbox">
                <left>20</left>
                <top>260</top>
                <width>425</width>
                <height>185</height>
                <label>$LOCALIZE[32009]:[CR][COLOR grey2]$INFO[ListItem.Property(NextNumber),, ]$INFO[ListItem.Property(NextTitle),[CR]][/COLOR]</label>
                <autoscroll>false</autoscroll>
                <shadowcolor />
            </control>
            <control type="textbox">
                <left>20</left>
                <top>480</top>
                <width>425</width>
                <height>185</height>
                <label>$LOCALIZE[32010]:[CR][COLOR grey2]$INFO[ListItem.Property(LatestDate),, [CR]]$INFO[ListItem.Property(LatestTitle)][/COLOR]</label>
                <autoscroll>false</autoscroll>
                <shadowcolor />
            </control>
            <control type="label">
                <top>650</top>
                <width>445</width>
                <height>45</height>
                <label>$LOCALIZE[126]:</label>
                <textoffsetx>15</textoffsetx>
                <font>InfoTitle</font>
                <textcolor>Highlight</textcolor>
            </control>
            <control type="label">
                <top>695</top>
                <width>445</width>
                <height>45</height>
                <label>$INFO[ListItem.Property(Status)]</label>
                <textcolor>grey2</textcolor>
                <textoffsetx>15</textoffsetx>
                <font>InfoPlot</font>
            </control>
            <control type="label">
                <top>745</top>
                <width>445</width>
                <height>45</height>
                <label>$LOCALIZE[32011]:</label>
                <textoffsetx>15</textoffsetx>
                <font>InfoTitle</font>
                <textcolor>Highlight</textcolor>
            </control>
            <control type="label">
                <top>790</top>
                <width>445</width>
                <height>45</height>
                <label>$INFO[ListItem.Property(ShortTime)]$INFO[ListItem.Property(Network), @ ]</label>
                <textcolor>grey2</textcolor>
                <textoffsetx>15</textoffsetx>
                <font>InfoPlot</font>
            </control>
        </itemlayout>
        <focusedlayout height="840" width="447">
            <control type="image" description="fa overlay">
                <width>447</width>
                <height>840</height>
                <texture border="4" colordiffuse="Highlight">img/WhiteRoundedST2.png</texture>
                <visible>ControlGroup(9001).HasFocus()</visible>
            </control>
            <control type="image">
                <left>15</left>
                <top>20</top>
                <width>420</width>
                <height>237</height>
                <aspectratio aligny="top">keep</aspectratio>
                <texture background="true">$INFO[ListItem.Property(Art(fanart))]</texture>
            </control>
            <control type="textbox">
                <left>20</left>
                <top>260</top>
                <width>425</width>
                <height>185</height>
                <label>$LOCALIZE[32009]:[CR]$INFO[ListItem.Property(NextNumber),, ]$INFO[ListItem.Property(NextTitle),[CR]]</label>
                <autoscroll>false</autoscroll>
                <shadowcolor />
                <textcolor>Black</textcolor>
            </control>
            <control type="textbox">
                <left>20</left>
                <top>480</top>
                <width>425</width>
                <height>185</height>
                <label>$LOCALIZE[32010]:[CR][COLOR white]$INFO[ListItem.Property(LatestDate),, [CR]]$INFO[ListItem.Property(LatestTitle)][/COLOR]</label>
                <autoscroll>false</autoscroll>
                <shadowcolor />
                <textcolor>Black</textcolor>
            </control>
            <control type="label">
                <top>650</top>
                <width>445</width>
                <height>45</height>
                <label>$LOCALIZE[126]:</label>
                <textoffsetx>15</textoffsetx>
                <font>InfoTitle</font>
                <textcolor>Black</textcolor>
            </control>
            <control type="label">
                <top>695</top>
                <width>445</width>
                <height>45</height>
                <label>$INFO[ListItem.Property(Status)]</label>
                <textoffsetx>15</textoffsetx>
                <textcolor>Black</textcolor>
                <font>InfoPlot</font>
            </control>
            <control type="label">
                <top>745</top>
                <width>445</width>
                <height>45</height>
                <label>$LOCALIZE[32011]:</label>
                <textoffsetx>15</textoffsetx>
                <font>InfoTitle</font>
                <textcolor>Black</textcolor>                
            </control>
            <control type="label">
                <top>790</top>
                <width>445</width>
                <height>45</height>
                <label>$INFO[ListItem.Property(ShortTime)]$INFO[ListItem.Property(Network), @ ]</label>
                <textcolor>Black</textcolor>
                <textoffsetx>15</textoffsetx>
                <font>InfoPlot</font>
            </control>
        </focusedlayout>
    </include>

And in the script-NextAired-TVGuide2.xml I am using something like this to show the panel:

Code:

                <control type="panel" id="201">
                    <visible allowhiddenfocus="true">[Control.HasFocus(9000) + Container(9000).HasFocus(2)] | Control.HasFocus(201) | [Container(9000).HasFocus(2) + Control.HasFocus(60)]</visible>
                    <include>SettingsFadeAnimation</include>
                    <onright>201</onright>
                    <include>TVNextAiredPanelLayout</include>
                </control>

Could anybody shed some light? I would really appreciate it, I am stuck trying to make this work.  Thank you kindly for any assitance you can provide.

Regards,

Bart
Reply
#2
likely the grey2 color is not defined in the colors/*.xml files of your skin.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
(2019-03-25, 01:47)ronie Wrote: likely the grey2 color is not defined in the colors/*.xml files of your skin.
@ronie, thank you so much! I had the color "Grey2" defined, but not "grey2".  I did not realize that letter casing made a difference for that tag.  I got it woking now, thanks again! Smile

Regards,

Bart
Reply

Logout Mark Read Team Forum Stats Members Help
Panel only shows info for focused item0