2011-06-29, 18:56
I have this code in VideoOSD :
but I'm unable to make a NIB (24x24px) keep aspect ratio. It always gets stretched. What am I missing?
Code:
<control type="slider" id="87" description="Seek Slider">
<posx>100</posx>
<posy>40</posy>
<width>1070</width>
<height>24</height>
<onup>-</onup>
<ondown>-</ondown>
<action>seek</action>
<texturesliderbar border="14,0,14,0">OSD/OSDProgressBack.png</texturesliderbar>
<textureslidernib border="8">OSD/SeekNibNF.png</textureslidernib>
<textureslidernibfocus border="8">OSD/SeekNibFO.png</textureslidernibfocus>
</control>
but I'm unable to make a NIB (24x24px) keep aspect ratio. It always gets stretched. What am I missing?