Image not showing correctly, don't know why.
#1
Hi again everyone, you all sick of me yet?

Sorry for YET ANOTHER question but I have the following problem.

I have an image which is 1882 x 1 pixels in size, I have it positioned in my code as follows

Code:
<control type="image">
        <posx>17</posx>
        <posy>75</posy>
        <width>1882</width>
        <height>1</height>
        <aspectratio>stretch</aspectratio>
        <texture>widesep.png</texture>
    </control>

All seems fine right?

When this is displayed it is only showing the left half of the image stretched over 1882 pixels and I can't understand why. I've tried with and without the <aspectratio> tag, I've tried resaving the file as a jpeg, I've tried without the <width> and <height> tags (which only made things worse) and I just can't figure out what is going on.

Please help. Sorry to be a nuisance like this.

Alistair
Reply
#2
Hmmm I solved it by adding some transparent space around the 1px high image, apparently xbmc doesn't like images 1px high, weird.
Reply

Logout Mark Read Team Forum Stats Members Help
Image not showing correctly, don't know why.0