textYOff results in overlaying text (1 Viewer)

pilehave

Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    TV-Server Version: RC3
    MediaPortal Version: RC3
    MediaPortal Skin: Monochrome 16:9
    Windows Version: XP Pro SP3
    CPU Type: AMD x2 4850e 2.5 GHz 45w
    HDD: Samsung Spinpoint 250GB 2.5"
    Memory: 4 GB DDR2 800 MHz Dual-Channel
    Motherboard: Gigabyte GA-MA78GM-S2H (rev 1.0)
    Video Card: Onboard AMD Radeon HD 3200
    Video Card Driver: Catalyst 8.8 official
    Sound Card: Onboard ALC889A
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: Terratec Cinergy 2400i DT
    1. TV Card Type: DVB-T
    1. TV Card Driver:
    2. TV Card:
    2. TV Card Type:
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec:
    MPEG2 Audio Codec:
    h.264 Video Codec:
    Satelite/CableTV Provider:
    HTPC Case:
    Cooling:
    Power Supply: picuPSU 120W
    Remote: Logitech 885
    TV: LG 42PM1MA
    TV - HTPC Connection: HDMI

    Hi...

    using a textYOff of greater than 4 results in text overlaps text2 in a listcontrol.

    Put the following in references.xml (and make sure this isn't overidden somewhere else in the skin-file) and test:

    <control>
    <description>default listcontrol</description>
    <type>listcontrol</type>
    <id>50</id>
    <posX>375</posX>
    <width>950</width>
    <textureHeight>45</textureHeight>
    <font>font16</font>
    <textXOff>82</textXOff>
    <textYOff>5</textYOff>
    <textXOff2>500</textXOff2>
    <itemWidth>40</itemWidth>
    <itemHeight>37</itemHeight>
    <IconXOff>64</IconXOff>
    <IconYOff>4</IconYOff>
    </control>

    Now, change the value in textYOff to 4 instead of 5. Put the code back in, and voila, the text doesn't overlap anymore.

    Please check to see if you get same result.

    Thank you :confused:
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #2
    An example

    Look at the attached screenshots, both from BlueTwo, only difference is this small change in references.xml:

    GOOD SCREEN:
    <textYOff2>4</textYOff2>

    BAD SCREEN:
    <textYOff2>5</textYOff2>

    GOOD SCREEN DUMP:
    View attachment 28156

    BAD SCREEN DUMP:
    dump2.png

    This is clearly not the way MP is supposed to work, would really appreciate if someone fixed this, as it makes skinning hell :mad:
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #3
    Another update; it seems that if you set <textYOff2> to a different value than <textYOff> then the problem occurs. This means that you can't use different fonts, since the fonts vary in height, and you need to change the offset to get them in line.

    This is a bug.
     

    Users who are viewing this thread

    Top Bottom