2015-11-18, 14:08
Hi,
So how is this done these days?
I need more clickable thingys in a row in a list!
I have a dynamic filled list (type is panel, content is songs filled by plugin).
I need on each "row" to have more than one "clickable" thingy (button, label, cheese, I don't care, I don't want to rule anything out here)
My aim is that:
ItemLayout looks like:
4:33 SongTitle
And FocusedLayout (with working buttons):
4:33 SongTitle [Add to Queue] [Play now] [Play Album]
Don't get hung up on any details, this doesn't have to be in a panel as long as the functionality is there.
I read something in a thread from 2009, that clickable buttons was perhaps being added?, but I can't get them working.
See: http://forum.kodi.tv/showthread.php?tid=54879
I tried adding a button to the focused layout:
Never fires.
I tried with focus/unfocus:
But the value of mediaListQueueIconActive changed with no logical pattern.
Also the button is always showing as focused. (The focus of the panel item is probably working its way "down the line" and polluting the button focus)
I tried adding the entire contents of the focused layout to a grouplist:
but that seems to have made it worse as now the labels aren't filled. The button is now always unfocused.
I am sorry if you think this question has already been successfully answered but my search of this site has not lead me to believe that.
So, what is the method you skinning-gurus use to achieve this these days?
So how is this done these days?
I need more clickable thingys in a row in a list!
I have a dynamic filled list (type is panel, content is songs filled by plugin).
I need on each "row" to have more than one "clickable" thingy (button, label, cheese, I don't care, I don't want to rule anything out here)
My aim is that:
ItemLayout looks like:
4:33 SongTitle
And FocusedLayout (with working buttons):
4:33 SongTitle [Add to Queue] [Play now] [Play Album]
Don't get hung up on any details, this doesn't have to be in a panel as long as the functionality is there.
I read something in a thread from 2009, that clickable buttons was perhaps being added?, but I can't get them working.
See: http://forum.kodi.tv/showthread.php?tid=54879
I tried adding a button to the focused layout:
Code:
<control type="button" id="96892">
....
<onclick>SetProperty(mediaListQueueIconActive,Yes,home)</onclick>
</control>
I tried with focus/unfocus:
Code:
<control type="button" id="96892">
....
<onfocus>SetProperty(mediaListQueueIconActive,Yes,home)</onfocus>
<onunfocus>SetProperty(mediaListQueueIconActive,No,home)</onunfocus>
</control>
Also the button is always showing as focused. (The focus of the panel item is probably working its way "down the line" and polluting the button focus)
I tried adding the entire contents of the focused layout to a grouplist:
Code:
<panel...
<focusedlayout..
<grouplist...
button and labels..
I am sorry if you think this question has already been successfully answered but my search of this site has not lead me to believe that.
So, what is the method you skinning-gurus use to achieve this these days?