2022-06-02, 14:34
Is there any performance difference between having a controls visibility at the top or the bottom ie:--
vs
I've seen it coded both ways in skins and just wondered if there was any reason to favour one over the other.
Code:
<control type="image">
<visible>Container.Content(movies)</visible>
<top>0</top>
<left>0</left>
<texture>my texture.png</texture>
</control>
vs
Code:
<control type="image">
<top>0</top>
<left>0</left>
<texture>my texture.png</texture>
<visible>Container.Content(movies)</visible>
</control>
I've seen it coded both ways in skins and just wondered if there was any reason to favour one over the other.