2018-11-03, 12:57
Hi at all,
i write here for a problem i'm facing now and i can't find any solution about it by searching around the forum:
I just created a custom-music.xml file inside my skin directory and added an <onclick>ActivateWindow(idofthewindow)</onclick> on a button.
The actual problem is that also if Kodi seems to find the window (checked the log) i can't see it at all.
I lose, obviously, focus because the controller seems in the new open active window but i can't see the window at all like if it's rendered behind everything instead of in front.
Any suggestion?
I tried to put inside the window, for now, a control image in order to understand and see if it's correctly rendered but no success.
Still can't see nothing except the music player (the window can be activated by a button on the music seekbar)
Thanks in advice for any kind of suggestion
Best Regards
i write here for a problem i'm facing now and i can't find any solution about it by searching around the forum:
I just created a custom-music.xml file inside my skin directory and added an <onclick>ActivateWindow(idofthewindow)</onclick> on a button.
The actual problem is that also if Kodi seems to find the window (checked the log) i can't see it at all.
I lose, obviously, focus because the controller seems in the new open active window but i can't see the window at all like if it's rendered behind everything instead of in front.
Any suggestion?
I tried to put inside the window, for now, a control image in order to understand and see if it's correctly rendered but no success.
Still can't see nothing except the music player (the window can be activated by a button on the music seekbar)
Quote:<?xml version="1.0" encoding="UTF-8"?>
<window id="1234" type="dialog">
<defaultcontrol>25</defaultcontrol>
<coordinates>
<left>200</left>
<top>100</top>
</coordinates>
<zorder>2</zorder>
<onunload>ClearProperty(Close,1234)</onunload>
<control type="image">
<posx>200</posx>
<posy>100</posy>
<height>600</height>
<width>1210</width>
<texture border="4">brzm/background.png</texture>
</control>
</window>
Thanks in advice for any kind of suggestion
Best Regards