- Moderator
- #1
Using SVN 27452 I have found out that MediaPortal has a miscalculation in normal and big thumb-layout in the facadeviews.
The root to all of this was, that I could never get my thumbnails to zoom the same amount in left/right and top/bottom.
Using Mustayaluca as a test-skin I found that this was in all skins, there is missing 4px when you add the zoomXPixels to the thumbWidth.
In my example below, I have the following attributes in the thumb-layout:
As you can see in my attached screenshot, things does not quite add up. 127 + 40 should equal 167, but when you measure the thumb it is only 163 pixel wide.
Same goes for the height, here we are also missing 4 pixels...
I will look for the miscalc. in the code - but this should be considered a bug IMHO.
The root to all of this was, that I could never get my thumbnails to zoom the same amount in left/right and top/bottom.
Using Mustayaluca as a test-skin I found that this was in all skins, there is missing 4px when you add the zoomXPixels to the thumbWidth.
In my example below, I have the following attributes in the thumb-layout:
Code:
<itemWidth>127</itemWidth>
<itemHeight>187</itemHeight>
<textureWidth>127</textureWidth>
<textureHeight>187</textureHeight>
<thumbWidth>127</thumbWidth>
<thumbHeight>187</thumbHeight>
<thumbPosX>0</thumbPosX>
<thumbPosY>0</thumbPosY>
<zoomXPixels>40</zoomXPixels>
<zoomYPixels>60</zoomYPixels>
As you can see in my attached screenshot, things does not quite add up. 127 + 40 should equal 167, but when you measure the thumb it is only 163 pixel wide.
Same goes for the height, here we are also missing 4 pixels...
I will look for the miscalc. in the code - but this should be considered a bug IMHO.