Kodi Community Forum

Full Version: Skin.setString()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any way to change the "enter the new label" when using Skin.setString().

I have searched and the only way was via the forked mediaportal, I feel that i may be missing something simple.
Sorry if it's obvious.

Thanks.
nah, not possible.
You would need something like this In DialogKeyboard.xml:

PHP Code:
<control type="label" id="311">
    <
description>Dialog Header</description>
    <
visible>!StringCompare(Control.GetLabel(311),$LOCALIZE[1029])</visible>
    [...]
</
control>
<
control type="label">
    <
description>Dialog Header (SetString)</description>
    <
visible>StringCompare(Control.GetLabel(311),$LOCALIZE[1029])</visible>
    <
label>Your custom label</label>
    [...]
</
control