Jeroen
2008-07-29, 23:10
I updated my Windows build to rev14582 today and I noticed a problem in my skin.
A commonly used item in my skin is:
<itemlayout height="90" width="380">
<control type="image">
<posx>7</posx>
<posy>7</posy>
<width>370</width>
<height>68</height>
<aspectratio align="left">keep</aspectratio>
<info>ListItem.Thumb</info>
<bordertexture border="2">-</bordertexture>
<bordersize>6</bordersize>
</control>
</itemlayout>
<focusedlayout height="90" width="380">
<control type="image">
<posx>7</posx>
<posy>7</posy>
<width>370</width>
<height>68</height>
<aspectratio align="left">keep</aspectratio>
<info>ListItem.Thumb</info>
<bordertexture border="2">list-focus.png</bordertexture>
<bordersize>6</bordersize>
</control>
</focusedlayout>
In the case of the unfocused layout no bordertexture is needed, so I leave that open. It would however always add the border, just no texture.
The border doesn't get applied anymore though when unfocused, resulting in different sizes, making the selection....jumpy....
I'm 100% sure it wasn't this way yesterday and I haven't touched this particular code since.
Intended changes? Bug?
A commonly used item in my skin is:
<itemlayout height="90" width="380">
<control type="image">
<posx>7</posx>
<posy>7</posy>
<width>370</width>
<height>68</height>
<aspectratio align="left">keep</aspectratio>
<info>ListItem.Thumb</info>
<bordertexture border="2">-</bordertexture>
<bordersize>6</bordersize>
</control>
</itemlayout>
<focusedlayout height="90" width="380">
<control type="image">
<posx>7</posx>
<posy>7</posy>
<width>370</width>
<height>68</height>
<aspectratio align="left">keep</aspectratio>
<info>ListItem.Thumb</info>
<bordertexture border="2">list-focus.png</bordertexture>
<bordersize>6</bordersize>
</control>
</focusedlayout>
In the case of the unfocused layout no bordertexture is needed, so I leave that open. It would however always add the border, just no texture.
The border doesn't get applied anymore though when unfocused, resulting in different sizes, making the selection....jumpy....
I'm 100% sure it wasn't this way yesterday and I haven't touched this particular code since.
Intended changes? Bug?