Solved skin helper color picker
#1
So the palette panel .... I want to change the height and width dependent on the palette type.... anyway to do this?... I have tried include with condition.....I have tried multiple panels with a visible and it changes looks but selecting doesn't work.

I am trying for that custom look but not having much luck.
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#2
Create in your skin xml and script will call your dialog panel or what you created.
Code:
script-skin_helper_service-ColorPicker.xml

same id for panel and visible condition (basic,rainbow,material-design,webcolors)
<visible>String.IsEqual(Window.Property(palettename),basic)</visible>
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
#3
That's what I had done but it won't allow you to select a color unless it is basic.
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#4
need to create 4 panel with different visible condition same id
1.
<control type="panel" id="3110">
<visible>String.IsEqual(Window.Property(palettename),rainbow)</visible>
<viewtype label="panel">icons</viewtype>....
2.
<control type="panel" id="3110">
<visible>String.IsEqual(Window.Property(palettename),basic)</visible>
<viewtype label="panel">icons</viewtype>........
3.
<control type="panel" id="3110">
<visible>String.IsEqual(Window.Property(palettename),webcolors)</visible>
<viewtype label="panel">icons</viewtype>....
4.
<control type="panel" id="3110">
<visible>String.IsEqual(Window.Property(palettename),material-design)</visible>
<viewtype label="panel">icons</viewtype>....

or use parametar if it is easy to create panel
for changing panel use button
Code:
    <control type="button" id="3030">
    <left>0</left>
    <top>20</top>
    <width>450</width>
    <height>60</height>
    <onup>3010</onup>
    <ondown>3110</ondown>
    <onleft>Close</onleft>
    <textoffsetx>45</textoffsetx>
    <label>$LOCALIZE[31404]</label>
    <label2>$INFO[Window.Property(palettename)]</label2>
    <visible>!String.IsEmpty(Window.Property(palettename))</visible>
    </control>
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
#5
yes I did that but only the first panel is selectable.... that works perfect for the look... but the problem is idk why but you can only pick a color from whatever palette is in the first panel.
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#6
Ok.I see what is isue..then use
Code:
<itemlayout condition="String.IsEqual(Window.Property(palettename),material-design)" height="21.1" width="21.1">
....
<itemlayout condition="String.IsEqual(Window.Property(palettename),webcolors)" height="42.1" width="42.1">
<itemlayout condition="String.IsEqual(Window.Property(palettename),basic)" height="84.2" width="84.2">

Same for focusedlayout
Dimension and position set with param or includes
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
#7
I will give that a try and see that happens.. thanks
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply

Logout Mark Read Team Forum Stats Members Help
skin helper color picker0