Button infolabels - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +--- Thread: Button infolabels (/showthread.php?tid=128659) |
Button infolabels - pecinko - 2012-04-12 <label fallback="1">$INFO[Skin.String(MyName)]</label> does not work for button control. Is this expected or is it a bug? RE: Button infolabels - pecinko - 2012-04-12 Curious enough $VAR works. Trac it? RE: Button infolabels - Hitcher - 2012-04-12 Variables are great; can't wait until we can use them for positions and sizes. RE: Button infolabels - pieh - 2012-04-12 by "does not work" You mean it will display fallback value or just nothing? RE: Button infolabels - pecinko - 2012-04-12 (2012-04-12, 17:01)pieh Wrote: by "does not work" You mean it will display fallback value or just nothing? By does not work I mean there is no label at all. EDIT: This works: PHP Code: <variable name="MyVar"> RE: Button infolabels - pieh - 2012-04-12 I put this in confluence home window as a test and it seems to be working. Code: <control type="button" id="9292"> Does this button is in container? Need more details to reproduce it. RE: Button infolabels - pecinko - 2012-04-12 OK. I have buttons in grouplist control. Here is what is happening if I use the button from your example and place it separately (NO grouplist): PHP Code: <control type="button" id="9292"> I have NO label when Skin.String is empty and have subtitle script path when add-on is set. If I make a variable: PHP Code: <variable name="TEST"> and use it as: PHP Code: <control type="button" id="9292"> everything works as expected. I have this problem only with buttons - labels in or out of container are working fine. Eden build on OS X 10.7.3. RE: Button infolabels - pieh - 2012-04-12 Right, I found that we simply don't use fallback attribute for buttons. We'll get that fixed. |