Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1803

Slider control rendering incorrectly on Krypton?

$
0
0
The following slider control...

Code:
            <!-- Slider -->
            <control type="slider" id="11">
                <left>40</left>
                <top>104</top>
                <width>720</width>
                <height>20</height>
                <texturesliderbar border="10,0,10,0">osd/OSDSliderBack.png</texturesliderbar>
                <textureslidernib border="10,0,10,0">osd/OSDSliderNib.png</textureslidernib>
                <textureslidernibfocus border="10,0,10,0">osd/OSDSliderNib.png</textureslidernibfocus>
            </control>

(full code for the window - DialogSlider.xml - is here)

... appears to be rendering incorrectly on Krypton, as the following image shows (top is Jarvis, bottom is Krypton - window code and images used are identical between them). It seems as is the nib isn't taking into account the actual position of the control (if I move it further down, it still renders from the top of the window), or the size that the nib should actually be. This is with the latest Mac nightly and the latest Milhouse/rPi/LibreElec build.

[Image: ixuuwfm.png]

Can anyone spot if I've made a howler in the code, or have I stumbled across a core bug?

Thanks.

Viewing all articles
Browse latest Browse all 1803

Trending Articles