Highway
26-06-2008 14:05:44
I have noticed a problem when using a static image with sub-tiles. When the static image or its parent widget gets disabled and then re-enabled, the settings are messed up. Then it just shows the complete image.
I have already tried to setting up all the states in the skin, but i had no luck to fix it like that.
A similar behaivor apears when making a skin that uses several Subskins with states ("normal","disable","active"). When just on of the subskins has one state , instead of the same like the other subskins.
for example:
I think it would be really helpfull to make it possible to use the "normal" state as a default when states are set or the BaseSkin. That would reduce useless copy&paste overhead
I have already tried to setting up all the states in the skin, but i had no luck to fix it like that.
A similar behaivor apears when making a skin that uses several Subskins with states ("normal","disable","active"). When just on of the subskins has one state , instead of the same like the other subskins.
for example:
<!-- BACKGROUND WIDGET -->
<BasisSkin type="SubSkin" offset = "1 9 -3 -13" align = "ALIGN_STRETCH" >
<State name="normal" offset = "315 7 1 1"/>
</BasisSkin>
<!-- TOP LEFT CORNER -->
<BasisSkin type="SubSkin" offset = "0 9 11 11" align = "ALIGN_LEFT ALIGN_TOP">
<State name="active" offset = "325 2 11 11"/>
<State name="normal" offset = "325 2 11 11"/>
<State name="select" offset = "325 25 11 11"/>
<State name="pressed" offset = "325 25 11 11"/>
<State name="disable" offset = "325 2 11 11"/>
</BasisSkin>
I think it would be really helpfull to make it possible to use the "normal" state as a default when states are set or the BaseSkin. That would reduce useless copy&paste overhead
