Image aspect ratio in basichome.xml (1 Viewer)

DarkWader

Portal Pro
October 3, 2006
270
6
46
Home Country
Norway Norway
I am in the making of a new skin, and I use round icons on the basichome screen.
And I have some trouble getting them to be drawn correctly. They seem to be stretched vertically a little.

The image is a transparent .PNG. (400x400px)

Anyone have an idea what causing this?

Code:
<control>
      <description>Home Pictures</description>
      <type>button</type>
      <id>3</id>
      <posX>700</posX>
      <posY>390</posY>
      <width>150</width>
      <height>150</height>
      <textureFocus>hover_my pictures.png</textureFocus>
      <textureNoFocus>hover_my pictures copy.png</textureNoFocus>
      <hyperlink>2</hyperlink>
      <label>1</label>
      <onleft>8</onleft>
      <onright>4</onright>
      <onup>5</onup>
      <ondown>5</ondown>
      <hover>hover_my pictures.png</hover>
      <hoverX>120</hoverX>
      <hoverY>160</hoverY>
      <hoverWidth>400</hoverWidth>
      <hoverHeight>400</hoverHeight>
      <hoverKeepAspectratio>yes</hoverKeepAspectratio>
      <animation effect="fade" time="200">WindowOpen</animation>
      <animation effect="fade" time="200">WindowClose</animation>
    </control>
 

wertzui

Retired Team Member
  • Premium Supporter
  • July 2, 2005
    320
    8
    this could be a problem with your monitor resolution and the resolution of the skin.

    try to run mp in windowed mode and look if the problem still exists.
     

    DarkWader

    Portal Pro
    October 3, 2006
    270
    6
    46
    Home Country
    Norway Norway
    this could be a problem with your monitor resolution and the resolution of the skin.

    try to run mp in windowed mode and look if the problem still exists.
    I have tryed to run the skin windowed, and in my workcomputers native resolution.
    Nomatter what I try, they get stretched vertically..
    In windowed mode the icon got even more strecthed.

    Funny thing is, in myhome and myhomeplugins screen the icons are not stretched, using the same round icons.

    I can get them round by compensating the with of the image by +50px.
    But I cant release it like that, if it turns out too fat for others..
     

    Users who are viewing this thread

    Top Bottom