Kodi Community Forum

Full Version: What value stands for negative? (Show Label)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I don't want to have the label to be shown on the tile. What value do I need to Replace with this:
PHP Code:
$INFO[Skin.String(HomeProgramTile7.ShowLabel)] 
Image
I can't edit it in the settings because I copied the App-Screen, so I have it twice.
Thanks,
Tom
false Smile
Image
Image
Don't work for me Sad
(the goal is to remove the "Test" label on the top left tile)
if you leave the label empty and remove the fallback that should work (line 1693)
Still shows the dark bar
Image
PHP Code:
<control type="radiobutton" id="2403">
                <include>
SettingsCustomDialogRadioButtonVars</include>
                <
label>$LOCALIZE[31156]</label>
                <
onclick condition="IsEmpty(Window.Property(HomeTileEdit.ShowLabel))">Skin.SetString($INFO[Window.Property(HomeTileEdit)].ShowLabel,on)</onclick>
                <
onclick condition="IsEmpty(Window.Property(HomeTileEdit.ShowLabel))">SetProperty(HomeTileEdit.ShowLabel,on)</onclick>
                <
onclick condition="!IsEmpty(Window.Property(HomeTileEdit.ShowLabel))">Skin.Reset($INFO[Window.Property(HomeTileEdit)].ShowLabel)</onclick>
                <
onclick condition="!IsEmpty(Window.Property(HomeTileEdit.ShowLabel))">ClearProperty(HomeTileEdit.ShowLabel)</onclick>
                <
selected>!IsEmpty(Window.Property(HomeTileEdit.ShowLabel))</selected>
            </
control
Maybe this helps
I fixed it by removing the following part, but it removes all labels at the current page
PHP Code:
<control type="group">
                                        <
visible>[!IsEmpty(ListItem.property(showlabel)) + !IsEmpty(ListItem.Property(Path))] | [IsEmpty(ListItem.Property(Path)) + IsEmpty(ListItem.Property(custom))]</visible>
                                        <
control type="image">
                                            <
posx>24</posx>
                                            <
posy>241</posy>
                                            <
width>283</width>
                                            <
height>66</height>
                                            <
texture border="1">windows/home/tile-overlay.png</texture>
                                            <
colordiffuse>99FFFFFF</colordiffuse>
                                        </
control>
                                        <
control type="label">
                                            <
posx>24</posx>
                                            <
posy>241</posy>
                                            <
width>283</width>
                                            <
height>66</height>
                                            <
label>$INFO[ListItem.Label]</label>
                                            <
font>Font-Condensed-S33</font>
                                            <
textcolor>aawhite</textcolor>
                                            <
align>left</align>
                                            <
aligny>center</aligny>
                                            <
textoffsetx>20</textoffsetx>
                                        </
control>
                                    </
control
PHP Code:
<control type="group">
                                    <
visible>[!IsEmpty(ListItem.property(showlabel)) + !IsEmpty(ListItem.Property(Path))] | [IsEmpty(ListItem.Property(Path)) + IsEmpty(ListItem.Property(custom))]</visible>
                                    <
control type="image">
                                        <
posx>24</posx>
                                        <
posy>241</posy>
                                        <
width>283</width>
                                        <
height>66</height>
                                        <
texture border="1">windows/home/tile-overlay.png</texture>
                                        <
colordiffuse>99FFFFFF</colordiffuse>
                                    </
control>
                                    <
control type="label">
                                        <
posx>24</posx>
                                        <
posy>241</posy>
                                        <
width>283</width>
                                        <
height>66</height>
                                        <
label>$INFO[ListItem.Label]</label>
                                        <
font>Font-Condensed-S33</font>
                                        <
textcolor>aawhite</textcolor>
                                        <
align>left</align>
                                        <
aligny>center</aligny>
                                        <
textoffsetx>20</textoffsetx>
                                    </
control>
                                </
control
Would still be good to know the negative value, maybe it is effected by my langueage settings?
check if an empty string for showlabel works or look at the code where skin string is set.